From 30184b9b5a1744f4f118dfdd8030f758b5a690ab Mon Sep 17 00:00:00 2001 From: Mursalin Akon Date: Thu, 15 Mar 2012 15:40:15 -0700 Subject: net:wireless:bcmdhd: rename bcmsdh_remove & bcmsdh_probe rename bcmsdh_remove & bcmsdh_probe to *_bcmdhd to resolve symbol conflicts with bcm4329 driver. Bug 956238 Change-Id: I750238ddf9b3a0d9ff9583a7ec456aceef28531c Signed-off-by: Mursalin Akon Reviewed-on: http://git-master/r/90656 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Gerrit_Virtual_Submit Reviewed-by: Rakesh Kumar Reviewed-by: Allen Martin --- drivers/net/wireless/bcmdhd/bcmsdh_linux.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'drivers/net/wireless/bcmdhd/bcmsdh_linux.c') diff --git a/drivers/net/wireless/bcmdhd/bcmsdh_linux.c b/drivers/net/wireless/bcmdhd/bcmsdh_linux.c index 414b172a9ab1..d467e4b5630e 100644 --- a/drivers/net/wireless/bcmdhd/bcmsdh_linux.c +++ b/drivers/net/wireless/bcmdhd/bcmsdh_linux.c @@ -135,24 +135,24 @@ bcmsdh_chipmatch(uint16 vendor, uint16 device) #if defined(BCMPLATFORM_BUS) #if defined(BCMLXSDMMC) /* forward declarations */ -int bcmsdh_probe(struct device *dev); -int bcmsdh_remove(struct device *dev); +int bcmsdh_probe_bcmdhd(struct device *dev); +int bcmsdh_remove_bcmdhd(struct device *dev); -EXPORT_SYMBOL(bcmsdh_probe); -EXPORT_SYMBOL(bcmsdh_remove); +EXPORT_SYMBOL(bcmsdh_probe_bcmdhd); +EXPORT_SYMBOL(bcmsdh_remove_bcmdhd); #else /* forward declarations */ -static int __devinit bcmsdh_probe(struct device *dev); -static int __devexit bcmsdh_remove(struct device *dev); +static int __devinit bcmsdh_probe_bcmdhd(struct device *dev); +static int __devexit bcmsdh_remove_bcmdhd(struct device *dev); #endif /* BCMLXSDMMC */ #ifndef BCMLXSDMMC static struct device_driver bcmsdh_driver = { .name = "pxa2xx-mci", .bus = &platform_bus_type, - .probe = bcmsdh_probe, - .remove = bcmsdh_remove, + .probe = bcmsdh_probe_bcmdhd, + .remove = bcmsdh_remove_bcmdhd, .suspend = NULL, .resume = NULL, }; @@ -161,7 +161,7 @@ static struct device_driver bcmsdh_driver = { #ifndef BCMLXSDMMC static #endif /* BCMLXSDMMC */ -int bcmsdh_probe(struct device *dev) +int bcmsdh_probe_bcmdhd(struct device *dev) { osl_t *osh = NULL; bcmsdh_hc_t *sdhc = NULL; @@ -269,7 +269,7 @@ err: #ifndef BCMLXSDMMC static #endif /* BCMLXSDMMC */ -int bcmsdh_remove(struct device *dev) +int bcmsdh_remove_bcmdhd(struct device *dev) { bcmsdh_hc_t *sdhc, *prev; osl_t *osh; -- cgit v1.2.3