• Adrian Bunk's avatar
    [PATCH] SCSI gdth: kill #define __devinitdata · 2cd0453f
    Adrian Bunk authored
    I got the following warning in 2.6.8-rc3-mm2:
    
    <--  snip  -->
    
    ...
      CC      drivers/scsi/gdth.o
    drivers/scsi/gdth.c:622:1: warning: "__devinitdata" redefined
    In file included from include/linux/moduleparam.h:4,
                     from include/linux/module.h:20,
                     from drivers/scsi/gdth.c:375:
    include/linux/init.h:227:1: warning: this is the location of the
    previous definition
    ...
    
    <--  snip  -->
    
    
    The #define in question seems bogus, and the following patch simply
    removes it:
    Signed-off-by: default avatarAdrian Bunk <bunk@fs.tum.de>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    2cd0453f
gdth.c 222 KB