diff options
author | Matt Turner <mattst88@gmail.com> | 2012-05-02 04:12:12 +0200 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2012-05-02 21:54:06 +0200 |
commit | 2f2be2784a60d7ab3f13dbb3e18f0cadea5bb655 (patch) | |
tree | f4e360b39a9fb886485f78842d26e7e7d576c264 /arch/alpha | |
parent | alpha: include module.h to fix modpost on Tsunami (diff) | |
download | linux-2f2be2784a60d7ab3f13dbb3e18f0cadea5bb655.tar.xz linux-2f2be2784a60d7ab3f13dbb3e18f0cadea5bb655.zip |
alpha: silence 'const' warning in sys_marvel.c
warning: passing argument 1 of 'pci_find_capability' discards 'const' qualifier from pointer target type
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha')
-rw-r--r-- | arch/alpha/kernel/sys_marvel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/sys_marvel.c b/arch/alpha/kernel/sys_marvel.c index 14a4b6a7cf59..407accc80877 100644 --- a/arch/alpha/kernel/sys_marvel.c +++ b/arch/alpha/kernel/sys_marvel.c @@ -317,7 +317,7 @@ marvel_init_irq(void) } static int -marvel_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) +marvel_map_irq(struct pci_dev *dev, u8 slot, u8 pin) { struct pci_controller *hose = dev->sysdata; struct io7_port *io7_port = hose->sysdata; |