Hi,
* Enrico <[email protected]> [120430 08:02]:
> Hi,
>
> hi get this at boot on an IGEP board (igep0020), latest linux-omap
> master (20 Apr):
>
> [ 0.047704] WARNING: at fs/sysfs/dir.c:508 sysfs_add_one+0x9c/0xac()
> [ 0.047712] sysfs: cannot create duplicate filename
> '/devices/platform/reg-fixed-voltage.0'
This is because of trying to create multiple fixed regulators with
id 0 as discussed earlier. AFAIK there's still no clean way to deal
with that unfortunately..
Can you try changing the id to something random like below?
Regards,
Tony
--- 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(42, dummy_supplies,
ARRAY_SIZE(dummy_supplies));
omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
/* Get IGEP2 hardware revision */
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html