Skip to content

Commit 2f2be27

Browse files
committed
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 <[email protected]>
1 parent 8fa1964 commit 2f2be27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/alpha/kernel/sys_marvel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ marvel_init_irq(void)
317317
}
318318

319319
static int
320-
marvel_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
320+
marvel_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
321321
{
322322
struct pci_controller *hose = dev->sysdata;
323323
struct io7_port *io7_port = hose->sysdata;

0 commit comments

Comments
 (0)