• Andrew Morton's avatar
    drivers/scsi/dpt_i2o.c: fix build on alpha · 8b2cc917
    Andrew Morton authored
    alpha:
    
    drivers/scsi/dpt_i2o.c:1997: error: implicit declaration of function 'adpt_alpha_info'
    drivers/scsi/dpt_i2o.c: At top level:
    drivers/scsi/dpt_i2o.c:2032: warning: conflicting types for 'adpt_alpha_info'
    drivers/scsi/dpt_i2o.c:2032: error: static declaration of 'adpt_alpha_info' follows non-static declaration
    drivers/scsi/dpt_i2o.c:1997: error: previous implicit declaration of 'adpt_alpha_info' was here
    
    Due to a copy-n-paste error in drivers/scsi/dpti.h.
    
    Fix that up and remove some of the many daft static-declarations-in-a-header
    which this driver enjoys.
    
    Cc: Miquel van Smoorenburg <miquels@cistron.nl>
    Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    8b2cc917
dpti.h 11.5 KB