diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2009-02-17 09:09:19 (GMT) |
---|---|---|
committer | Samuel Ortiz <samuel@sortiz.org> | 2009-04-04 22:32:22 (GMT) |
commit | 7d33ccbeecd8393cc690cf9a71008236cdd7cc2c (patch) | |
tree | 93b0356d89abf9ffa1c90da3a9b2e30b34074089 /include/linux | |
parent | b72019dbd126e60bb5f9f350f76127b1527facba (diff) | |
download | linux-fsl-qoriq-7d33ccbeecd8393cc690cf9a71008236cdd7cc2c.tar.xz |
mfd: remove DS1WM clock handling
This driver requests a clock that usually is supplied by the MFD in which
the DS1WM is contained. Currently, it is impossible for a MFD to register
their clocks with the generic clock API due to different implementations
across architectures.
For now, this patch removes the clock handling from DS1WM altogether,
trusting that the MFD enable/disable functions will switch the clock if
needed. The clock rate is obtained from a new parameter in driver_data.
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mfd/ds1wm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/ds1wm.h b/include/linux/mfd/ds1wm.h index d4898ba..be469a3 100644 --- a/include/linux/mfd/ds1wm.h +++ b/include/linux/mfd/ds1wm.h @@ -2,4 +2,5 @@ struct ds1wm_driver_data { int active_high; + int clock_rate; }; |