• Geoff Levand's avatar
    ehci-ps3, ohci-ps3: fix compilation · 2fda4c90
    Geoff Levand authored
    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: default avatarAlexey Dobriyan <adobriyan@gmail.com>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Greg KH <greg@kroah.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Geoff Levand <geoffrey.levand@am.sony.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    2fda4c90
ehci-ps3.c 4.59 KB