---
drivers/mfd/glamo-core.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/mfd/glamo-core.c b/drivers/mfd/glamo-core.c
index 05bc737..8220906 100644
--- a/drivers/mfd/glamo-core.c
+++ b/drivers/mfd/glamo-core.c
@@ -42,7 +42,7 @@
#include <linux/slab.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
#include <linux/pm.h>
@@ -393,7 +393,8 @@ static void glamo_init_debugfs(struct glamo_core *glamo)
{
glamo->debugfs_dir = debugfs_create_dir("glamo3362", NULL);
if (glamo->debugfs_dir)
- debugfs_create_file("regs", S_IRUGO | S_IWUSR,
glamo->debugfs_dir,
+ debugfs_create_file("regs", S_IRUGO | S_IWUSR,
+ glamo->debugfs_dir,
glamo, &debugfs_regs_ops);
else
dev_warn(&glamo->pdev->dev, "Failed to set up debugfs.\n");
--
1.7.1