]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
staging: omap-thermal: update feature bitfield for OMAP54xx
authorEduardo Valentin <eduardo.valentin@ti.com>
Tue, 26 Feb 2013 22:53:31 +0000 (18:53 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 16:48:53 +0000 (09:48 -0700)
This patch removes from OMAP54xx the features:
. CLK_CTRL
. COUNTER
. MODE_CONFIG

Because these features are not present in OMAP54xx ES2.0

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omap-thermal/omap5-thermal.c

index c8c3e6e735e30619574f37172ae95c0bb2a2762b..63063600f0584176041704d37b98067cd478cda6 100644 (file)
@@ -319,10 +319,7 @@ omap5430_adc_to_temp[
 /* TODO : Need to update the slope/constant for ES2.0 silicon */
 const struct omap_bandgap_data omap5430_data = {
        .features = OMAP_BANDGAP_FEATURE_TSHUT_CONFIG |
-                       OMAP_BANDGAP_FEATURE_TALERT |
-                       OMAP_BANDGAP_FEATURE_MODE_CONFIG |
-                       OMAP_BANDGAP_FEATURE_COUNTER |
-                       OMAP_BANDGAP_FEATURE_CLK_CTRL,
+                       OMAP_BANDGAP_FEATURE_TALERT,
        .fclock_name = "l3instr_ts_gclk_div",
        .div_ck_name = "l3instr_ts_gclk_div",
        .conv_table = omap5430_adc_to_temp,