diff options
Diffstat (limited to 'target/linux/mediatek/patches/0003-clk-mediatek-Add-reset-controller-support.patch')
-rw-r--r-- | target/linux/mediatek/patches/0003-clk-mediatek-Add-reset-controller-support.patch | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/target/linux/mediatek/patches/0003-clk-mediatek-Add-reset-controller-support.patch b/target/linux/mediatek/patches/0003-clk-mediatek-Add-reset-controller-support.patch index bb6f64b9b2..d54cb34a63 100644 --- a/target/linux/mediatek/patches/0003-clk-mediatek-Add-reset-controller-support.patch +++ b/target/linux/mediatek/patches/0003-clk-mediatek-Add-reset-controller-support.patch @@ -21,18 +21,14 @@ Acked-by: Philipp Zabel <p.zabel@pengutronix.de> 3 files changed, 108 insertions(+) create mode 100644 drivers/clk/mediatek/reset.c -diff --git a/drivers/clk/mediatek/Makefile b/drivers/clk/mediatek/Makefile -index c384e97..0b6f1c3 100644 --- a/drivers/clk/mediatek/Makefile +++ b/drivers/clk/mediatek/Makefile @@ -1 +1,2 @@ obj-y += clk-mtk.o clk-pll.o clk-gate.o +obj-$(CONFIG_RESET_CONTROLLER) += reset.o -diff --git a/drivers/clk/mediatek/clk-mtk.h b/drivers/clk/mediatek/clk-mtk.h -index 694fc39..61035b9 100644 --- a/drivers/clk/mediatek/clk-mtk.h +++ b/drivers/clk/mediatek/clk-mtk.h -@@ -156,4 +156,14 @@ void __init mtk_clk_register_plls(struct device_node *node, +@@ -156,4 +156,14 @@ void __init mtk_clk_register_plls(struct const struct mtk_pll_data *plls, int num_plls, struct clk_onecell_data *clk_data); @@ -47,9 +43,6 @@ index 694fc39..61035b9 100644 +#endif + #endif /* __DRV_CLK_MTK_H */ -diff --git a/drivers/clk/mediatek/reset.c b/drivers/clk/mediatek/reset.c -new file mode 100644 -index 0000000..9e9fe4b --- /dev/null +++ b/drivers/clk/mediatek/reset.c @@ -0,0 +1,97 @@ @@ -150,6 +143,3 @@ index 0000000..9e9fe4b + return; + } +} --- -1.7.10.4 - |