summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/scom.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-29 09:25:35 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-10-11 07:53:53 +0200
commit81fafea67a2ea418673df2df2b22a81f0c5a455a (patch)
treeb2e59c379e90d23c9d43e0e639ebfc986923e762 /arch/powerpc/sysdev/scom.c
parentpowerpc/scom: CONFIG_SCOM_DEBUGFS should depend on CONFIG_DEBUG_FS (diff)
downloadlinux-81fafea67a2ea418673df2df2b22a81f0c5a455a.tar.xz
linux-81fafea67a2ea418673df2df2b22a81f0c5a455a.zip
powerpc/scom: Use "devspec" rather than "path" in debugfs entries
This is the traditional name for device-tree path, used in sysfs, do the same for the XSCOM debugfs files. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/scom.c')
-rw-r--r--arch/powerpc/sysdev/scom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/scom.c b/arch/powerpc/sysdev/scom.c
index cb20d542a5aa..3963d995648a 100644
--- a/arch/powerpc/sysdev/scom.c
+++ b/arch/powerpc/sysdev/scom.c
@@ -180,7 +180,7 @@ static int scom_debug_init_one(struct dentry *root, struct device_node *dn,
debugfs_create_file("addr", 0600, dir, ent, &scom_addr_fops);
debugfs_create_file("value", 0600, dir, ent, &scom_val_fops);
- debugfs_create_blob("path", 0400, dir, &ent->blob);
+ debugfs_create_blob("devspec", 0400, dir, &ent->blob);
return 0;
}