aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/wbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/wbsd.c')
-rw-r--r--drivers/mmc/wbsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/wbsd.c b/drivers/mmc/wbsd.c
index 942668e93a74..ea0c4b3361bf 100644
--- a/drivers/mmc/wbsd.c
+++ b/drivers/mmc/wbsd.c
@@ -1852,9 +1852,9 @@ static int __devinit wbsd_init(struct device* dev, int base, int irq, int dma,
1852 /* 1852 /*
1853 * See if chip needs to be configured. 1853 * See if chip needs to be configured.
1854 */ 1854 */
1855 if (pnp && (host->config != 0)) 1855 if (pnp)
1856 { 1856 {
1857 if (!wbsd_chip_validate(host)) 1857 if ((host->config != 0) && !wbsd_chip_validate(host))
1858 { 1858 {
1859 printk(KERN_WARNING DRIVER_NAME 1859 printk(KERN_WARNING DRIVER_NAME
1860 ": PnP active but chip not configured! " 1860 ": PnP active but chip not configured! "