diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2007-09-19 18:42:16 +0200 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-09-23 21:28:01 +0200 |
commit | 759bdc7af450404382e937c76722ae8736daef92 (patch) | |
tree | 6c605ba19762d0d0a0afd42f2b4f5d1da99ad90a /include | |
parent | f9996aee36921e8f1d499de1b2ea380855cf6d97 (diff) | |
download | kernel_samsung_smdk4412-759bdc7af450404382e937c76722ae8736daef92.zip kernel_samsung_smdk4412-759bdc7af450404382e937c76722ae8736daef92.tar.gz kernel_samsung_smdk4412-759bdc7af450404382e937c76722ae8736daef92.tar.bz2 |
sdio: store vendor strings
Store vendor strings found in CISTPL_VERS_1 so that function drivers
can access them.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mmc/card.h | 2 | ||||
-rw-r--r-- | include/linux/mmc/sdio_func.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index a444431..0d508ac 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h @@ -108,6 +108,8 @@ struct mmc_card { struct sdio_cccr cccr; /* common card info */ struct sdio_cis cis; /* common tuple info */ struct sdio_func *sdio_func[SDIO_MAX_FUNCS]; /* SDIO functions (devices) */ + unsigned num_info; /* number of info strings */ + const char **info; /* info strings */ struct sdio_func_tuple *tuples; /* unknown common tuples */ }; diff --git a/include/linux/mmc/sdio_func.h b/include/linux/mmc/sdio_func.h index da6a96c..b050f4d 100644 --- a/include/linux/mmc/sdio_func.h +++ b/include/linux/mmc/sdio_func.h @@ -51,6 +51,9 @@ struct sdio_func { u8 tmpbuf[4]; /* DMA:able scratch buffer */ + unsigned num_info; /* number of info strings */ + const char **info; /* info strings */ + struct sdio_func_tuple *tuples; }; |