From: Matt Turner Date: Wed, 2 May 2012 02:12:12 +0000 (-0400) Subject: alpha: silence 'const' warning in sys_marvel.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2f2be2784a60d7ab3f13dbb3e18f0cadea5bb655;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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;