• Geert Uytterhoeven's avatar
    scsi/m68k: Kill NCR_700_detect() warnings · e5779a58
    Geert Uytterhoeven authored
    The patch from Ming Lei <tom.leiming@gmail.com> entitled:
        platform driver: fix incorrect use of 'platform_bus_type' with 'struct devic
    introduced the following warnings on m68k, as `dev' is now a `struct
    platform_device *' instead of a `struct device *':
    
    | drivers/scsi/a4000t.c:64: warning: passing argument 3 of 'NCR_700_detect' from incompatible pointer type
    | drivers/scsi/mvme16x_scsi.c:67: warning: passing argument 3 of 'NCR_700_detect' from incompatible pointer type
    | drivers/scsi/bvme6000_scsi.c:61: warning: passing argument 3 of 'NCR_700_detect' from incompatible pointer type
    
    I think the below is missing (untested on real hardware).
    Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
    Cc: Ming Lei <tom.leiming@gmail.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    e5779a58
bvme6000_scsi.c 3.26 KB