summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-03-12 20:15:21 +0100
committerChris Metcalf <cmetcalf@tilera.com>2012-03-12 20:31:37 +0100
commit688b4db0d914da78ae2cbe03386d644e71e3341c (patch)
tree6719a939f63b3693fdc1741119ddccce1ecd9113 /arch
parentLinux 3.3-rc7 (diff)
downloadlinux-688b4db0d914da78ae2cbe03386d644e71e3341c.tar.xz
linux-688b4db0d914da78ae2cbe03386d644e71e3341c.zip
arch/tile: Fix up from commit 8a25a2fd126c621f44f3aeaef80d51f00fc11639
This was Kay Siever's bombing to convert 'cpu' to a regular subsystem. The change left a bogus second argument to sysfs_create_file(). Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/tile/kernel/sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/kernel/sysfs.c b/arch/tile/kernel/sysfs.c
index f862b005eb73..71ae728e9d0b 100644
--- a/arch/tile/kernel/sysfs.c
+++ b/arch/tile/kernel/sysfs.c
@@ -163,7 +163,7 @@ static int __init create_sysfs_entries(void)
#define create_hv_attr(name) \
if (!err) \
- err = sysfs_create_file(hypervisor_kobj, &dev_attr_##name);
+ err = sysfs_create_file(hypervisor_kobj, &dev_attr_##name.attr);
create_hv_attr(type);
create_hv_attr(version);
create_hv_attr(config_version);