diff options
Diffstat (limited to 'drivers/pnp/core.c')
-rw-r--r-- | drivers/pnp/core.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/pnp/core.c b/drivers/pnp/core.c index deed92459bc5..aec83ec5ea23 100644 --- a/drivers/pnp/core.c +++ b/drivers/pnp/core.c | |||
@@ -158,13 +158,14 @@ void __pnp_remove_device(struct pnp_dev *dev) | |||
158 | * | 158 | * |
159 | * this function will free all mem used by dev | 159 | * this function will free all mem used by dev |
160 | */ | 160 | */ |
161 | 161 | #if 0 | |
162 | void pnp_remove_device(struct pnp_dev *dev) | 162 | void pnp_remove_device(struct pnp_dev *dev) |
163 | { | 163 | { |
164 | if (!dev || dev->card) | 164 | if (!dev || dev->card) |
165 | return; | 165 | return; |
166 | __pnp_remove_device(dev); | 166 | __pnp_remove_device(dev); |
167 | } | 167 | } |
168 | #endif /* 0 */ | ||
168 | 169 | ||
169 | static int __init pnp_init(void) | 170 | static int __init pnp_init(void) |
170 | { | 171 | { |
@@ -174,7 +175,9 @@ static int __init pnp_init(void) | |||
174 | 175 | ||
175 | subsys_initcall(pnp_init); | 176 | subsys_initcall(pnp_init); |
176 | 177 | ||
178 | #if 0 | ||
177 | EXPORT_SYMBOL(pnp_register_protocol); | 179 | EXPORT_SYMBOL(pnp_register_protocol); |
178 | EXPORT_SYMBOL(pnp_unregister_protocol); | 180 | EXPORT_SYMBOL(pnp_unregister_protocol); |
179 | EXPORT_SYMBOL(pnp_add_device); | 181 | EXPORT_SYMBOL(pnp_add_device); |
180 | EXPORT_SYMBOL(pnp_remove_device); | 182 | EXPORT_SYMBOL(pnp_remove_device); |
183 | #endif /* 0 */ | ||