Commit c397fc82 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: eeh.h warning-fix

In file included from include/asm/io.h:365,
                 from drivers/video/kyro/STG4000Reg.h:23,
                 from drivers/video/kyro/STG4000Ramdac.c:16:
include/asm/eeh.h:58: warning: `struct device_node' declared inside parameter list
include/asm/eeh.h:58: warning: its scope is only this definition or declaration, which is probably not what you want
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4f6d91e3
...@@ -55,6 +55,7 @@ void __init pci_addr_cache_build(void); ...@@ -55,6 +55,7 @@ void __init pci_addr_cache_build(void);
* device (including config space i/o). Call eeh_add_device_late * device (including config space i/o). Call eeh_add_device_late
* to finish the eeh setup for this device. * to finish the eeh setup for this device.
*/ */
struct device_node;
void eeh_add_device_early(struct device_node *); void eeh_add_device_early(struct device_node *);
void eeh_add_device_late(struct pci_dev *); void eeh_add_device_late(struct pci_dev *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment