summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXiaohui Tao <xtao@nvidia.com>2013-08-16 15:10:17 -0700
committerHarry Hong <hhong@nvidia.com>2014-01-21 17:31:08 -0800
commitd2304b7cca3f5c661b6c0a7d3ca906c00c265b0b (patch)
tree28afdf5784f6e04ccf527c590c15c387685705b4 /include
parent10df5871fdc9197a256b886364203525231b0c7b (diff)
input:misc: Add unified sysfs location for management
Provide a unified sysfs location so that init.xxx.rc can change the permission without frequent update. Change-Id: Ic35a122d96de60896f386a042d336ef5dd0a9765 Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/263540 (cherry picked from commit 5a56bb9fce86683037a1689d137aa4416938d5c0) Reviewed-on: http://git-master/r/358088 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mpu.h b/include/linux/mpu.h
index c0202aeba32e..876d805b8855 100644
--- a/include/linux/mpu.h
+++ b/include/linux/mpu.h
@@ -669,4 +669,10 @@ int nvi_mpu_bypass_request(bool enable);
*/
int nvi_mpu_bypass_release(void);
+/**
+ * Register the sysfs node from secondary i2c to mpu so that
+ * it can be managed together
+ */
+int nvi_mpu_sysfs_register(struct kobject *target, char *name);
+
#endif /* __MPU_H_ */