Skip to content
  • Alan Cox's avatar
    SiS warning fixes · 4bb64fb9
    Alan Cox authored
    
    
    Somehow the sis_info133 external definition ended up in libata.h and that
    was included by both drivers.  However libata.h contains libata-* specific
    internals and clashing defines like DRV_NAME so this makes a mess.  Move
    the extern into the C file and remove the warnings
    
    [akpm@linux-foundation.org: create sis.h to avoid extern-decl-in-C]
    Signed-off-by: default avatarAlan Cox <alan@redhat.com>
    Cc: Jeff Garzik <jeff@garzik.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    4bb64fb9