]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/asm-arm/arch-omap3/mmc.h
OMAP3 MMC: Fix warning dereferencing type-punned pointer
[karo-tx-uboot.git] / include / asm-arm / arch-omap3 / mmc.h
index 55584d9f721fcf3ebfa7dbcde9089827d5ba3746..196ffdcff6eba5d1785418192ce952057a46b56c 100644 (file)
@@ -223,6 +223,13 @@ typedef struct {
        unsigned short newpublishedrca;
 } mmc_resp_r6;
 
+typedef union {
+       unsigned int resp[4];
+       mmc_resp_r3 r3;
+       mmc_resp_r6 r6;
+       mmc_csd_reg_t Card_CSD;
+} mmc_resp_t;
+
 extern mmc_card_data mmc_dev;
 
 unsigned char mmc_lowlevel_init(void);