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.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/mmc/wbsd.c b/drivers/mmc/wbsd.c
index a44d8777ab9f..05ccfc43168f 100644
--- a/drivers/mmc/wbsd.c
+++ b/drivers/mmc/wbsd.c
@@ -42,7 +42,6 @@
42#include "wbsd.h" 42#include "wbsd.h"
43 43
44#define DRIVER_NAME "wbsd" 44#define DRIVER_NAME "wbsd"
45#define DRIVER_VERSION "1.6"
46 45
47#define DBG(x...) \ 46#define DBG(x...) \
48 pr_debug(DRIVER_NAME ": " x) 47 pr_debug(DRIVER_NAME ": " x)
@@ -344,7 +343,6 @@ static inline void wbsd_dma_to_sg(struct wbsd_host *host, struct mmc_data *data)
344 memcpy(sgbuf, dmabuf, size); 343 memcpy(sgbuf, dmabuf, size);
345 else 344 else
346 memcpy(sgbuf, dmabuf, sg[i].length); 345 memcpy(sgbuf, dmabuf, sg[i].length);
347 kunmap_atomic(sgbuf, KM_BIO_SRC_IRQ);
348 dmabuf += sg[i].length; 346 dmabuf += sg[i].length;
349 347
350 if (size < sg[i].length) 348 if (size < sg[i].length)
@@ -2101,8 +2099,7 @@ static int __init wbsd_drv_init(void)
2101 int result; 2099 int result;
2102 2100
2103 printk(KERN_INFO DRIVER_NAME 2101 printk(KERN_INFO DRIVER_NAME
2104 ": Winbond W83L51xD SD/MMC card interface driver, " 2102 ": Winbond W83L51xD SD/MMC card interface driver\n");
2105 DRIVER_VERSION "\n");
2106 printk(KERN_INFO DRIVER_NAME ": Copyright(c) Pierre Ossman\n"); 2103 printk(KERN_INFO DRIVER_NAME ": Copyright(c) Pierre Ossman\n");
2107 2104
2108#ifdef CONFIG_PNP 2105#ifdef CONFIG_PNP
@@ -2166,7 +2163,6 @@ module_param(dma, int, 0444);
2166MODULE_LICENSE("GPL"); 2163MODULE_LICENSE("GPL");
2167MODULE_AUTHOR("Pierre Ossman <drzeus@drzeus.cx>"); 2164MODULE_AUTHOR("Pierre Ossman <drzeus@drzeus.cx>");
2168MODULE_DESCRIPTION("Winbond W83L51xD SD/MMC card interface driver"); 2165MODULE_DESCRIPTION("Winbond W83L51xD SD/MMC card interface driver");
2169MODULE_VERSION(DRIVER_VERSION);
2170 2166
2171#ifdef CONFIG_PNP 2167#ifdef CONFIG_PNP
2172MODULE_PARM_DESC(nopnp, "Scan for device instead of relying on PNP. (default 0)"); 2168MODULE_PARM_DESC(nopnp, "Scan for device instead of relying on PNP. (default 0)");