]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers: scsi: mvsas: fix compiling issue by adding 'MVS_' for "enum pci_interrupt_cause"
authorChen Gang <gang.chen.5i5j@gmail.com>
Fri, 9 May 2014 01:19:39 +0000 (09:19 +0800)
committerGuan Xuetao <gxt@mprc.pku.edu.cn>
Thu, 29 May 2014 06:53:17 +0000 (14:53 +0800)
commit7d1ea6236268b9a0ae6e0f775b4d3e1ded8e7a73
treea8d128f16c1e6a0ad0e42dad11e80dd7cfc9590a
parent02e1d301dc09a0268960c7174eb8941006939835
drivers: scsi: mvsas: fix compiling issue by adding 'MVS_' for "enum pci_interrupt_cause"

The direct cause is IRQ_SPI is already defined as a macro in unicore32
architecture (also, blackfin and mips architectures define it). The
related error (unicore32  with allmodconfig)

    CC [M]  drivers/scsi/mvsas/mv_94xx.o
  In file included from drivers/scsi/mvsas/mv_94xx.c:27:
  drivers/scsi/mvsas/mv_94xx.h:176: error: expected identifier before numeric constant

And IRQ_SAS_A and IRQ_SAS_B are used as 'u32' (although "enum
pci_interrupt_cause" is not used directly, now).

All together, need add 'MVS_' for "enum pci_interrupt_cause".

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
Signed-off-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
drivers/scsi/mvsas/mv_94xx.c
drivers/scsi/mvsas/mv_94xx.h