summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2009-02-17 10:09:19 +0100
committerSamuel Ortiz <samuel@sortiz.org>2009-04-05 00:32:22 +0200
commit7d33ccbeecd8393cc690cf9a71008236cdd7cc2c (patch)
tree93b0356d89abf9ffa1c90da3a9b2e30b34074089 /include
parentb72019dbd126e60bb5f9f350f76127b1527facba (diff)
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')
-rw-r--r--include/linux/mfd/ds1wm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/ds1wm.h b/include/linux/mfd/ds1wm.h
index d4898ba1820..be469a357cb 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;
};