]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sparc: fix drivers/video/tcx.c warning
authorRobert Reif <reif@earthlink.net>
Sun, 27 Apr 2008 05:29:43 +0000 (22:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Apr 2008 05:29:43 +0000 (22:29 -0700)
commit403ae52ac047eb339f2b7e8cdf93a3b8077914db
tree526c25c666f12b92504a18392dff10a480e1fff0
parent5da496e4b90626784a82803682e186a8e67222a0
sparc: fix drivers/video/tcx.c warning

Fix compile warning:

CC drivers/video/tcx.o
drivers/video/tcx.c: In function ‘tcx_init_one’:
drivers/video/tcx.c:477: warning: format ‘%lx’ expects type ‘long
unsigned int’, but argument 4 has type ‘resource_size_t’

This was the only sparc driver to use the resource directly in the
printk so I changed it to physbase like the other drivers.
Boot tested on SS4.

Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/video/tcx.c