* [PATCH] MIPS: txx9 7segled fix struct device has no member
@ 2012-01-10 12:11 Yoichi Yuasa
2012-01-16 13:22 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Yoichi Yuasa @ 2012-01-10 12:11 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: Kay Sievers, Ralf Baechle, yuasa, linux-mips
arch/mips/txx9/generic/7segled.c: In function 'tx_7segled_init_sysfs':
arch/mips/txx9/generic/7segled.c:105:6: error: 'struct device' has no member named 'dev'
make[3]: *** [arch/mips/txx9/generic/7segled.o] Error 1
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
---
arch/mips/txx9/generic/7segled.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/txx9/generic/7segled.c b/arch/mips/txx9/generic/7segled.c
index 8e93b21..4642f56 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);
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] MIPS: txx9 7segled fix struct device has no member
2012-01-10 12:11 [PATCH] MIPS: txx9 7segled fix struct device has no member Yoichi Yuasa
@ 2012-01-16 13:22 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2012-01-16 13:22 UTC (permalink / raw)
To: Yoichi Yuasa; +Cc: Greg Kroah-Hartman, Kay Sievers, linux-mips
Thanks, applied.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-16 13:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-10 12:11 [PATCH] MIPS: txx9 7segled fix struct device has no member Yoichi Yuasa
2012-01-16 13:22 ` Ralf Baechle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.