From 7b4551898193a24334029faae89ec7e262056ba3 Mon Sep 17 00:00:00 2001 From: "Martin J. Bligh" Date: Fri, 28 Mar 2003 14:43:27 -0500 Subject: [PATCH] [PATCH] remove warning for 3c509.c Get this compile warning: drivers/net/3c509.c:207: warning: `el3_device_remove' declared `static' but never defined because the function definition is under "#if defined(CONFIG_EISA) || defined(CONFIG_MCA)". This patch puts the declaration under the same conditions. I'd be shocked if it wasn't correct ;-) M. --- drivers/net/3c509.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/3c509.c b/drivers/net/3c509.c index 2f1d8eda388fb..61cde566fcb3b 100644 --- a/drivers/net/3c509.c +++ b/drivers/net/3c509.c @@ -208,7 +208,9 @@ static int el3_resume(struct pm_dev *pdev); static int el3_pm_callback(struct pm_dev *pdev, pm_request_t rqst, void *data); #endif /* generic device remove for all device types */ +#if defined(CONFIG_EISA) || defined(CONFIG_MCA) static int el3_device_remove (struct device *device); +#endif #ifdef CONFIG_EISA struct eisa_device_id el3_eisa_ids[] = { -- 2.53.0