~ubuntu-branches/debian/experimental/linux-2.6/experimental

« back to all changes in this revision

Viewing changes to include/linux/mmc/sh_mobile_sdhi.h

  • Committer: Package Import Robot
  • Author(s): maximilian attems, maximilian attems, Ben Hutchings
  • Date: 2012-06-06 10:25:57 UTC
  • mfrom: (1.2.38)
  • Revision ID: package-import@ubuntu.com-20120606102557-b9j3506wcwrqrnx8
Tags: 3.4.1-1~experimental.1
* New upstream release: http://kernelnewbies.org/Linux_3.4
* New upstream stable update:
  http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.4.1

[ maximilian attems ]
* Enable DM_VERITY, NF_CONNTRACK_TIMEOUT, NF_CT_NETLINK_TIMEOUT,
  IP_NF_MATCH_RPFILTER, IP6_NF_MATCH_RPFILTER, NETFILTER_NETLINK_ACCT,
  NETFILTER_XT_MATCH_NFACCT, NET_SCH_PLUG, SCSI_UFSHCD, SCSI_VIRTIO,
  NET_TEAM, ATH6KL.

[ Ben Hutchings ]
* DFSG: Remove the new vs6624 driver, which contains non-free firmware
* aufs: Update to aufs3.4-20120521
* [rt] Update to 3.4-rt8 and reenable

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
#define SH_MOBILE_SDHI_IRQ_SDCARD       "sdcard"
11
11
#define SH_MOBILE_SDHI_IRQ_SDIO         "sdio"
12
12
 
 
13
/**
 
14
 * struct sh_mobile_sdhi_ops - SDHI driver callbacks
 
15
 * @cd_wakeup:          trigger a card-detection run
 
16
 */
 
17
struct sh_mobile_sdhi_ops {
 
18
        void (*cd_wakeup)(const struct platform_device *pdev);
 
19
};
 
20
 
13
21
struct sh_mobile_sdhi_info {
14
22
        int dma_slave_tx;
15
23
        int dma_slave_rx;
16
24
        unsigned long tmio_flags;
17
25
        unsigned long tmio_caps;
18
26
        u32 tmio_ocr_mask;      /* available MMC voltages */
 
27
        unsigned int cd_gpio;
19
28
        struct tmio_mmc_data *pdata;
20
29
        void (*set_pwr)(struct platform_device *pdev, int state);
21
30
        int (*get_cd)(struct platform_device *pdev);
 
31
 
 
32
        /* callbacks for board specific setup code */
 
33
        int (*init)(struct platform_device *pdev,
 
34
                    const struct sh_mobile_sdhi_ops *ops);
 
35
        void (*cleanup)(struct platform_device *pdev);
22
36
};
23
37
 
24
38
#endif /* LINUX_MMC_SH_MOBILE_SDHI_H */