From 31cb48d4b2d4ceede7a3b48af731dfa81336a6b4 Mon Sep 17 00:00:00 2001 From: Om Prakash Singh Date: Fri, 2 Mar 2012 12:35:40 +0530 Subject: wl12xx: add set_carddetect in wl12xx platform data set_carddetect is use for calling mmc sdio carddetect function from wl12xx driver. Bug 931928 Change-Id: I48710fbf2bf1ab2f03651d6dd56c08018191aa9b Signed-off-by: Om Prakash Singh Reviewed-on: http://git-master/r/87139 Reviewed-by: Bharat Nihalani --- include/linux/wl12xx.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/wl12xx.h b/include/linux/wl12xx.h index 56cfc32c117e..0f559ae411c8 100644 --- a/include/linux/wl12xx.h +++ b/include/linux/wl12xx.h @@ -49,6 +49,7 @@ enum { struct wl12xx_platform_data { void (*set_power)(bool enable); + void (*set_carddetect)(bool enable); /* SDIO only: IRQ number if WLAN_IRQ line is used, 0 for SDIO IRQs */ int irq; bool use_eeprom; -- cgit v1.2.3