From: Haren Myneni Date: Wed, 28 Dec 2005 02:58:29 +0000 (-0800) Subject: [PATCH] Small fix in eeh definitions when CONFIG_EEH not enabled X-Git-Tag: v2.6.16-rc1~666^2~28 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=022930ebea0df878d449b7c74309c1d612441ac5;p=linux-2.6-omap-h63xx.git [PATCH] Small fix in eeh definitions when CONFIG_EEH not enabled Undefined symbols (eeh_add_device_tree_early and eeh_remove_bus_device) when EEH is not enabled. This small patch will fix this. Acked-by: Linas Vepstas Signed-off-by: Paul Mackerras --- diff --git a/include/asm-powerpc/eeh.h b/include/asm-powerpc/eeh.h index 14c9e8ab3e5..4395b7bc1ed 100644 --- a/include/asm-powerpc/eeh.h +++ b/include/asm-powerpc/eeh.h @@ -118,6 +118,9 @@ static inline void eeh_add_device_late(struct pci_dev *dev) { } static inline void eeh_remove_device(struct pci_dev *dev) { } +static inline void eeh_add_device_tree_early(struct device_node *dn) { } + +static inline void eeh_remove_bus_device(struct pci_dev *dev) { } #define EEH_POSSIBLE_ERROR(val, type) (0) #define EEH_IO_ERROR_VALUE(size) (-1UL) #endif /* CONFIG_EEH */