ehci-ps3, ohci-ps3: fix compilation
authorGeoff Levand <[email protected]>
Sun, 6 May 2007 21:51:57 +0000 (14:51 -0700)
committerLinus Torvalds <[email protected]>
Mon, 7 May 2007 19:13:04 +0000 (12:13 -0700)
commit2fda4c90f65fd96ef910ba285d66984caf600a08
treeb2b1e774f8805df686afdfdfaa1f7d986b499e0d
parentf0ac675806441d17303707856f4d23bd27092014
ehci-ps3, ohci-ps3: fix compilation

As seen on powerpc-cell et al:

  CC [M]  drivers/usb/host/ehci-hcd.o
In file included from drivers/usb/host/ehci-hcd.c:941:
drivers/usb/host/ehci-ps3.c:79: error: conflicting types for 'dev_dbg'
include/linux/device.h:576: error: previous definition of 'dev_dbg' was here
make[4]: *** [drivers/usb/host/ehci-hcd.o] Error 1
  CC [M]  drivers/usb/host/ohci-hcd.o
In file included from drivers/usb/host/ohci-hcd.c:921:
drivers/usb/host/ohci-ps3.c:83: error: conflicting types for 'dev_dbg'
include/linux/device.h:576: error: previous definition of 'dev_dbg' was here

dev_dbg() will check format string for you in dummy case also, so remove
buggers.

Signed-off-by: Alexey Dobriyan <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Greg KH <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Geoff Levand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/usb/host/ehci-ps3.c
drivers/usb/host/ohci-ps3.c