Skip to content

Commit 688b4db

Browse files
arch/tile: Fix up from commit 8a25a2f
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>
1 parent fde7d90 commit 688b4db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/tile/kernel/sysfs.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ static int __init create_sysfs_entries(void)
163163

164164
#define create_hv_attr(name) \
165165
if (!err) \
166-
err = sysfs_create_file(hypervisor_kobj, &dev_attr_##name);
166+
err = sysfs_create_file(hypervisor_kobj, &dev_attr_##name.attr);
167167
create_hv_attr(type);
168168
create_hv_attr(version);
169169
create_hv_attr(config_version);

0 commit comments

Comments
 (0)