projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fa1964
)
alpha: silence 'const' warning in sys_marvel.c
author
Matt Turner
<mattst88@gmail.com>
Wed, 2 May 2012 02:12:12 +0000
(22:12 -0400)
committer
Matt Turner
<mattst88@gmail.com>
Wed, 2 May 2012 19:54:06 +0000
(15:54 -0400)
warning: passing argument 1 of 'pci_find_capability' discards 'const' qualifier from pointer target type
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/kernel/sys_marvel.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/alpha/kernel/sys_marvel.c
b/arch/alpha/kernel/sys_marvel.c
index 14a4b6a7cf59d3fa94b121714c7e3c67792618e8..407accc808777bc4a6f36fa6b912b92686d09a0b 100644
(file)
--- 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;