openwrtv3/target/linux/cns3xxx/patches-4.9/230-remove-deprecated-code.patch
Koen Vandeputte 1db4135e32 cns3xxx: add preliminary 4.9 support
Adds preliminary kernel 4.9 support for this target.

- Refreshed/Updated all patches

Added 3 new patches:
- 093 --> Add virtual PCI MMIO mapping
- 230 --> Remove deprecated code
- 240 --> Rework AT24 eeprom code to use the new NVMEM API

Compiled & tested on cns3xxx (gw2388)

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2017-02-10 11:05:57 +01:00

11 lines
370 B
Diff

--- a/arch/arm/mach-cns3xxx/laguna.c
+++ b/arch/arm/mach-cns3xxx/laguna.c
@@ -812,7 +812,7 @@ static void __init laguna_init(void)
u32 __iomem *reg;
clk = clk_register_fixed_rate(NULL, "cpu", NULL,
- CLK_IS_ROOT | CLK_IGNORE_UNUSED,
+ CLK_IGNORE_UNUSED,
cns3xxx_cpu_clock() * (1000000 / 8));
clk_register_clkdev(clk, "cpu", NULL);