]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/mmc/sh_mmcif.h
mmc: Allow the platform to specify the sh_mmcif get_cd handler
[net-next-2.6.git] / include / linux / mmc / sh_mmcif.h
index d4a2ebbdab4b2ad3f8adb4bec89aada45e0ff7fc..d19e2114fd867782dc8a71b7b12367a9eff561ad 100644 (file)
@@ -34,6 +34,7 @@
 struct sh_mmcif_plat_data {
        void (*set_pwr)(struct platform_device *pdev, int state);
        void (*down_pwr)(struct platform_device *pdev);
+       int (*get_cd)(struct platform_device *pdef);
        u8      sup_pclk;       /* 1 :SH7757, 0: SH7724/SH7372 */
        unsigned long caps;
        u32     ocr;