ARM: orion5x: remove PM dependency from ts78xx
authorAlexander Clouter <alex@digriz.org.uk>
Sat, 12 May 2012 14:17:01 +0000 (15:17 +0100)
committerAndrew Lunn <andrew@lunn.ch>
Mon, 14 May 2012 16:13:03 +0000 (18:13 +0200)
Move ts78xx_fpga from /sys/power to /sys/firmware so that
we can remove the PM dependency.

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
arch/arm/mach-orion5x/Kconfig
arch/arm/mach-orion5x/ts78xx-setup.c

index 6604fc6..0673f0c 100644 (file)
@@ -86,7 +86,6 @@ config MACH_WRT350N_V2
 
 config MACH_TS78XX
        bool "Technologic Systems TS-78xx"
-       select PM
        help
          Say 'Y' here if you want your kernel to support the
          Technologic Systems TS-78xx platform.
index d8670cb..1e14363 100644 (file)
@@ -608,7 +608,7 @@ static void __init ts78xx_init(void)
        /* FPGA init */
        ts78xx_fpga_devices_zero_init();
        ret = ts78xx_fpga_load();
-       ret = sysfs_create_file(power_kobj, &ts78xx_fpga_attr.attr);
+       ret = sysfs_create_file(firmware_kobj, &ts78xx_fpga_attr.attr);
        if (ret)
                pr_err("sysfs_create_file failed: %d\n", ret);
 }