This patch removes function parameter pv which is not used and modify it's
related codes.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
return local_sdio_func->card->host->ios.clock;
}
-int linux_sdio_init(void *pv)
+int linux_sdio_init(void)
{
/**
#include <linux/mmc/sdio_func.h>
-int linux_sdio_init(void *);
+int linux_sdio_init(void);
void linux_sdio_deinit(void *);
int linux_sdio_cmd52(sdio_cmd52_t *cmd);
int linux_sdio_cmd53(sdio_cmd53_t *cmd);
g_sdio.dPrint = func;
g_sdio.os_context = inp->os_context.os_private;
- if (!linux_sdio_init(g_sdio.os_context)) {
+ if (!linux_sdio_init()) {
g_sdio.dPrint(N_ERR, "[wilc sdio]: Failed io init bus...\n");
return 0;
} else {