aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/omap-thermal/omap-bandgap.h
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2012-07-12 19:02:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-16 19:04:16 -0700
commit949f5a505cb19248a941d404fd64d2e37a87a059 (patch)
tree12a3b060e835fd05a79916d0bf3b66ed8ff51b33 /drivers/staging/omap-thermal/omap-bandgap.h
parentstaging: omap-thermal: add OMAP4 data structures (diff)
downloadlinux-dev-949f5a505cb19248a941d404fd64d2e37a87a059.tar.xz
linux-dev-949f5a505cb19248a941d404fd64d2e37a87a059.zip
staging: omap-thermal: add OMAP5 data structures
This patch adds the data structures needed for proper registration of OMAP5 chips. This patch includes definitions for these chip versions: . OMAP5430 Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/omap-thermal/omap-bandgap.h')
-rw-r--r--drivers/staging/omap-thermal/omap-bandgap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/staging/omap-thermal/omap-bandgap.h b/drivers/staging/omap-thermal/omap-bandgap.h
index 6d442fe5daa3..78aed7535f47 100644
--- a/drivers/staging/omap-thermal/omap-bandgap.h
+++ b/drivers/staging/omap-thermal/omap-bandgap.h
@@ -432,4 +432,10 @@ extern const struct omap_bandgap_data omap4470_data;
#define omap4470_data NULL
#endif
+#ifdef CONFIG_OMAP5_THERMAL
+extern const struct omap_bandgap_data omap5430_data;
+#else
+#define omap5430_data NULL
+#endif
+
#endif