diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2014-05-09 01:19:39 (GMT) |
---|---|---|
committer | Guan Xuetao <gxt@mprc.pku.edu.cn> | 2014-06-20 00:22:39 (GMT) |
commit | 8902b10787c5a6e939c7adfe908c72404196052a (patch) | |
tree | ee3eb08b513a31e66f7e5dc51b69f7904538ca18 /arch/unicore32/kernel/setup.c | |
parent | 8065042279df8e53c31e555b1330a2f05f1655b3 (diff) | |
download | linux-8902b10787c5a6e939c7adfe908c72404196052a.tar.xz |
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>
Diffstat (limited to 'arch/unicore32/kernel/setup.c')
0 files changed, 0 insertions, 0 deletions