• David S. Miller's avatar
    enic: Fix namespace pollution causing build errors. · 3dc33e23
    David S. Miller authored
    drivers/net/built-in.o: In function `.vnic_wq_devcmd2_alloc':
    (.text+0x49fe40): multiple definition of `.vnic_wq_devcmd2_alloc'
    drivers/scsi/built-in.o:(.text+0xb4318): first defined here
    drivers/net/built-in.o:(.opd+0x2af00): multiple definition of `vnic_wq_devcmd2_alloc'
    drivers/scsi/built-in.o:(.opd+0xad70): first defined here
    drivers/net/built-in.o: In function `.vnic_wq_init_start':
    (.text+0x49f9c0): multiple definition of `.vnic_wq_init_start'
    drivers/scsi/built-in.o:(.text+0xb3b58): first defined here
    drivers/net/built-in.o:(.opd+0x2ae88): multiple definition of `vnic_wq_init_start'
    drivers/scsi/built-in.o:(.opd+0xace0): first defined here
    
    Rename these to 'enic_*' to avoid the conflict with the functiosn of
    the same name in the snic scsi driver.
    Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    3dc33e23
vnic_wq.h 5.44 KB