summaryrefslogtreecommitdiff
path: root/include/linux/fsl_devices.h
diff options
context:
space:
mode:
authorTony Lin <tony.lin@freescale.com>2011-01-11 18:01:03 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:10:51 +0800
commit1418edf31d6944156294281cb30c7a9ffdb7ebee (patch)
tree29c1ad4f2d52974078ffafaf168d2aa57e410f71 /include/linux/fsl_devices.h
parent8a04a8c5189c49f4c3a94ce0cd193f68646554f3 (diff)
ENGR00137979-3 add header file for performance monitor driver
add header file for performance monitor driver under include/linux Signed-off-by: Tony Lin <tony.lin@freescale.com>
Diffstat (limited to 'include/linux/fsl_devices.h')
-rw-r--r--include/linux/fsl_devices.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index fa8c14504cd7..7e41d6d279d6 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -293,4 +293,15 @@ int fsl_deep_sleep(void);
static inline int fsl_deep_sleep(void) { return 0; }
#endif
+struct mxs_perfmon_bit_config {
+ int reg;
+ int field;
+ const char *name;
+};
+
+struct mxs_platform_perfmon_data {
+ struct mxs_perfmon_bit_config *bit_config_tab;
+ int bit_config_cnt;
+};
+
#endif /* _FSL_DEVICE_H_ */