diff options
author | Matt Turner <mattst88@gmail.com> | 2012-05-01 22:12:12 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2012-05-02 15:54:06 -0400 |
commit | 2f2be2784a60d7ab3f13dbb3e18f0cadea5bb655 (patch) | |
tree | f4e360b39a9fb886485f78842d26e7e7d576c264 /arch | |
parent | 8fa196478b8fb30e59456252ab4b309985f67443 (diff) |
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')
-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 14a4b6a7cf5..407accc8087 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; |