X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Flinux%2Fmmc%2Fsdhci.h;h=05cd76c9a9aacec36a049eb560e5eb82b240788c;hb=2d7c51f;hp=3e781b8c0be74dd76e658c4ba78ecbb72516e153;hpb=67002151403350b497c1efc8d36450974dfca023;p=karo-tx-linux.git diff --git a/include/linux/mmc/sdhci.h b/include/linux/mmc/sdhci.h index 3e781b8c0be7..05cd76c9a9aa 100644 --- a/include/linux/mmc/sdhci.h +++ b/include/linux/mmc/sdhci.h @@ -12,6 +12,7 @@ #define LINUX_MMC_SDHCI_H #include +#include #include #include #include @@ -160,10 +161,10 @@ struct sdhci_host { dma_addr_t adma_addr; /* Mapped ADMA descr. table */ dma_addr_t align_addr; /* Mapped bounce buffer */ - struct tasklet_struct card_tasklet; /* Tasklet structures */ - struct tasklet_struct finish_tasklet; + struct work_struct card_detect_work; + struct work_struct finish_work; - struct timer_list timer; /* Timer for timeouts */ + struct delayed_work timeout_work; /* Work for timeouts */ u32 caps; /* Alternative CAPABILITY_0 */ u32 caps1; /* Alternative CAPABILITY_1 */ @@ -179,7 +180,7 @@ struct sdhci_host { unsigned int tuning_count; /* Timer count for re-tuning */ unsigned int tuning_mode; /* Re-tuning mode supported by host */ #define SDHCI_TUNING_MODE_1 0 - struct timer_list tuning_timer; /* Timer for tuning */ + struct delayed_work tuning_timeout_work; /* Work for tuning timeouts */ unsigned long private[0] ____cacheline_aligned; };