diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-02-19 05:56:38 +0100 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-02-19 05:56:38 +0100 |
| commit | 19796a75ab8ba43b31e230ea169d5383c6392bfc (patch) | |
| tree | 3041c5678e06133dd7fcbf2ebf34b6506334f677 /libdde_linux26/contrib/include/linux/ds1wm.h | |
| parent | 6b2e5e0d91823c2a6ce5a5cb12ae3d00b82adae7 (diff) | |
| parent | 8df772b3c665e663f6f9d2a70f9c691590bd3f91 (diff) | |
Merge branch 'dde' into upstream-merged
Diffstat (limited to 'libdde_linux26/contrib/include/linux/ds1wm.h')
| -rw-r--r-- | libdde_linux26/contrib/include/linux/ds1wm.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libdde_linux26/contrib/include/linux/ds1wm.h b/libdde_linux26/contrib/include/linux/ds1wm.h new file mode 100644 index 00000000..d3c65e48 --- /dev/null +++ b/libdde_linux26/contrib/include/linux/ds1wm.h @@ -0,0 +1,12 @@ +/* platform data for the DS1WM driver */ + +struct ds1wm_platform_data { + int bus_shift; /* number of shifts needed to calculate the + * offset between DS1WM registers; + * e.g. on h5xxx and h2200 this is 2 + * (registers aligned to 4-byte boundaries), + * while on hx4700 this is 1 */ + int active_high; + void (*enable)(struct platform_device *pdev); + void (*disable)(struct platform_device *pdev); +}; |
