]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mmc/sdio_func.h
sdio: link unknown CIS tuples to the sdio_func structure
[linux-2.6-omap-h63xx.git] / include / linux / mmc / sdio_func.h
index 4164809a8e6337e4959c42a9cd240fc0bbfc77dc..269067663c8d04c97dfa168331d7f6283cc2365a 100644 (file)
 
 struct mmc_card;
 
+/*
+ * SDIO function CIS tuple (unknown to the core)
+ */
+struct sdio_func_tuple {
+       struct sdio_func_tuple *next;
+       unsigned char code;
+       unsigned char size;
+       unsigned char data[0];
+};
+
 /*
  * SDIO function devices
  */
@@ -28,6 +38,8 @@ struct sdio_func {
 
        unsigned int            state;          /* function state */
 #define SDIO_STATE_PRESENT     (1<<0)          /* present in sysfs */
+
+       struct sdio_func_tuple *tuples;
 };
 
 #define sdio_func_present(f)   ((f)->state & SDIO_STATE_PRESENT)