[PATCH 12/12] pcmcia: soc_common: add driver-data pointer

Russell King rmk+kernel at armlinux.org.uk
Wed Sep 28 10:11:07 PDT 2016


Add a driver-data pointer so that low level drivers can add additional
data to the soc_common pcmcia socket structure.

Signed-off-by: Russell King <rmk+kernel at armlinux.org.uk>
---
 drivers/pcmcia/soc_common.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pcmcia/soc_common.h b/drivers/pcmcia/soc_common.h
index f2078aecb914..3f3625805353 100644
--- a/drivers/pcmcia/soc_common.h
+++ b/drivers/pcmcia/soc_common.h
@@ -82,6 +82,7 @@ struct soc_pcmcia_socket {
 #endif
 	struct timer_list	poll_timer;
 	struct list_head	node;
+	void *driver_data;
 };
 
 struct skt_dev_info {
-- 
2.1.0




More information about the linux-pcmcia mailing list