Skip to content

Commit

Permalink
arch/tile: Fix up from commit 8a25a2f
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
cmetcalf-tilera committed Mar 12, 2012
1 parent fde7d90 commit 688b4db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/tile/kernel/sysfs.c
Expand Up @@ -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);
Expand Down

0 comments on commit 688b4db

Please sign in to comment.