summaryrefslogtreecommitdiff
path: root/arch/mips/txx9/generic/7segled.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/txx9/generic/7segled.c')
-rw-r--r--arch/mips/txx9/generic/7segled.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/txx9/generic/7segled.c b/arch/mips/txx9/generic/7segled.c
index 8e93b2122524..4642f56e70e5 100644
--- a/arch/mips/txx9/generic/7segled.c
+++ b/arch/mips/txx9/generic/7segled.c
@@ -102,7 +102,7 @@ static int __init tx_7segled_init_sysfs(void)
break;
}
dev->id = i;
- dev->dev = &tx_7segled_subsys;
+ dev->bus = &tx_7segled_subsys;
error = device_register(dev);
if (!error) {
device_create_file(dev, &dev_attr_ascii);