[PATCH 19/33] pcmcia: sa1111: add driver-data pointer

Russell King rmk+kernel at armlinux.org.uk
Mon Aug 29 03:25:42 PDT 2016


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

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

diff --git a/drivers/pcmcia/sa1111_generic.h b/drivers/pcmcia/sa1111_generic.h
index e74ecfdc1b26..0bfc82080c16 100644
--- a/drivers/pcmcia/sa1111_generic.h
+++ b/drivers/pcmcia/sa1111_generic.h
@@ -5,6 +5,7 @@ struct sa1111_pcmcia_socket {
 	struct soc_pcmcia_socket soc;
 	struct sa1111_dev *dev;
 	struct sa1111_pcmcia_socket *next;
+	void *driver_data;
 };
 
 static inline struct sa1111_pcmcia_socket *to_skt(struct soc_pcmcia_socket *s)
-- 
2.1.0




More information about the linux-pcmcia mailing list