[ARM] 4475/2: EM-x270 board support
[linux-2.6/linux-2.6-openrd.git] / include / linux / ds1wm.h
blob31f6e3c427fbdcdb6e4da6bca8c433ddc3717178
1 /* platform data for the DS1WM driver */
3 struct 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 */
9 void (*enable)(struct platform_device *pdev);
10 void (*disable)(struct platform_device *pdev);