blob: d3c65e48a2e7fa7000319aafbe0f11459e988762 [file] [log] [blame]
akpm@linux-foundation.orgf19b1212007-05-08 00:31:22 -07001/* platform data for the DS1WM driver */
2
3struct ds1wm_platform_data {
4 int bus_shift; /* number of shifts needed to calculate the
5 * offset between DS1WM registers;
6 * e.g. on h5xxx and h2200 this is 2
7 * (registers aligned to 4-byte boundaries),
8 * while on hx4700 this is 1 */
Philipp Zabel4aa323b2008-02-07 00:13:22 -08009 int active_high;
akpm@linux-foundation.orgf19b1212007-05-08 00:31:22 -070010 void (*enable)(struct platform_device *pdev);
11 void (*disable)(struct platform_device *pdev);
12};