• James Bottomley's avatar
    [SCSI] libsas: fix missing inlines in header file · 79bc1481
    James Bottomley authored
    Two functions in include/scsi/sas_ata.h don't have static inlines
    leading to problems if they're built in:
    
    On Thu, 2008-04-03 at 14:06 +0200, Toralf Förster wrote:
    > drivers/scsi/mvsas.o: In function `sas_ata_init_host_and_port':
    > mvsas.c:(.text+0x0): multiple definition of `sas_ata_init_host_and_port'
    > drivers/scsi/libsas/built-in.o:(.text+0x37f4): first defined here
    > drivers/scsi/mvsas.o: In function `sas_ata_task_abort':
    > mvsas.c:(.text+0x7): multiple definition of `sas_ata_task_abort'
    > drivers/scsi/libsas/built-in.o:(.text+0x37fb): first defined here
    > make[2]: *** [drivers/scsi/built-in.o] Error 1
    > make[1]: *** [drivers/scsi] Error 2
    > make: *** [drivers] Error 2
    
    Add the correct static inline modifiers.
    Tested-by: default avatarToralf Förster <toralf.foerster@gmx.de>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
    79bc1481
Name
Last commit
Last update
..
acpi Loading commit data...
asm-alpha Loading commit data...
asm-arm Loading commit data...
asm-avr32 Loading commit data...
asm-blackfin Loading commit data...
asm-cris Loading commit data...
asm-frv Loading commit data...
asm-generic Loading commit data...
asm-h8300 Loading commit data...
asm-ia64 Loading commit data...
asm-m32r Loading commit data...
asm-m68k Loading commit data...
asm-m68knommu Loading commit data...
asm-mips Loading commit data...
asm-mn10300 Loading commit data...
asm-parisc Loading commit data...
asm-powerpc Loading commit data...
asm-ppc Loading commit data...
asm-s390 Loading commit data...
asm-sh Loading commit data...
asm-sparc Loading commit data...
asm-sparc64 Loading commit data...
asm-um Loading commit data...
asm-v850 Loading commit data...
asm-x86 Loading commit data...
asm-xtensa Loading commit data...
crypto Loading commit data...
keys Loading commit data...
linux Loading commit data...
math-emu Loading commit data...
media Loading commit data...
mtd Loading commit data...
net Loading commit data...
pcmcia Loading commit data...
rdma Loading commit data...
rxrpc Loading commit data...
scsi Loading commit data...
sound Loading commit data...
video Loading commit data...
xen Loading commit data...
Kbuild Loading commit data...