* [PATCH] OMAP: igep0020: fix smsc911x dummy regulator id
@ 2012-04-30 17:20 Enrico
2012-05-04 17:33 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Enrico @ 2012-04-30 17:20 UTC (permalink / raw)
To: linux-omap; +Cc: Enrico Butera
From: Enrico Butera <ebutera@users.berlios.de>
Using id 0 causes errors at boot:
WARNING: at fs/sysfs/dir.c:508 sysfs_add_one+0x9c/0xac()
sysfs: cannot create duplicate filename '/devices/platform/reg-fixed-voltage.0'
Fix it by using a random (not-already-used) id, as suggested
by Tony Lindgren.
Signed-off-by: Enrico Butera <ebutera@users.berlios.de>
---
arch/arm/mach-omap2/board-igep0020.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c
index 930c0d3..1ce2ba4 100644
--- a/arch/arm/mach-omap2/board-igep0020.c
+++ b/arch/arm/mach-omap2/board-igep0020.c
@@ -641,7 +641,7 @@ static struct regulator_consumer_supply dummy_supplies[] = {
static void __init igep_init(void)
{
- regulator_register_fixed(0, dummy_supplies, ARRAY_SIZE(dummy_supplies));
+ regulator_register_fixed(40, dummy_supplies, ARRAY_SIZE(dummy_supplies));
omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
/* Get IGEP2 hardware revision */
--
1.7.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] OMAP: igep0020: fix smsc911x dummy regulator id
2012-04-30 17:20 [PATCH] OMAP: igep0020: fix smsc911x dummy regulator id Enrico
@ 2012-05-04 17:33 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2012-05-04 17:33 UTC (permalink / raw)
To: Enrico; +Cc: linux-omap, Enrico Butera
* Enrico <ebutera@users.sourceforge.net> [120430 10:23]:
> From: Enrico Butera <ebutera@users.berlios.de>
>
> Using id 0 causes errors at boot:
>
> WARNING: at fs/sysfs/dir.c:508 sysfs_add_one+0x9c/0xac()
> sysfs: cannot create duplicate filename '/devices/platform/reg-fixed-voltage.0'
>
> Fix it by using a random (not-already-used) id, as suggested
> by Tony Lindgren.
Thanks applying into fixes.
Regards,
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-04 17:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-30 17:20 [PATCH] OMAP: igep0020: fix smsc911x dummy regulator id Enrico
2012-05-04 17:33 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox