aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mfd/glamo-core.h
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2010-06-25 19:39:30 +0200
committerLars-Peter Clausen <lars@metafoo.de>2010-07-03 19:03:50 +0200
commit3ab0d545a0b24811883eec3e9b43fa22645f9c17 (patch)
treeaaf66304faceaa45ae04025bbfb76cd76fb21246 /include/linux/mfd/glamo-core.h
parentd7e709cc0b42f050cf25e43b3d68354a061444d1 (diff)
glamo-core: use debugfs instead of sysfs for the 'regs' node
Use debugfs, which is better-suited than sysfs for the 'regs' node. Also change the expected format from decimal to hexadecimal numbers.
Diffstat (limited to 'include/linux/mfd/glamo-core.h')
-rw-r--r--include/linux/mfd/glamo-core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/glamo-core.h b/include/linux/mfd/glamo-core.h
index ba7c69dce2f..8275a2fae50 100644
--- a/include/linux/mfd/glamo-core.h
+++ b/include/linux/mfd/glamo-core.h
@@ -37,6 +37,9 @@ struct glamo_core {
enum glamo_engine_state engine_state[__NUM_GLAMO_ENGINES];
spinlock_t lock;
uint16_t saved_irq_mask;
+#ifdef CONFIG_DEBUG_FS
+ struct dentry *debugfs_dir;
+#endif
};
struct glamo_script {