Skip to content
Snippets Groups Projects
Commit 2f2be278 authored by Matt Turner's avatar Matt Turner
Browse files

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: default avatarMatt Turner <mattst88@gmail.com>
parent 8fa19647
No related branches found
No related tags found
No related merge requests found
...@@ -317,7 +317,7 @@ marvel_init_irq(void) ...@@ -317,7 +317,7 @@ marvel_init_irq(void)
} }
static int 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 pci_controller *hose = dev->sysdata;
struct io7_port *io7_port = hose->sysdata; struct io7_port *io7_port = hose->sysdata;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment