aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/patches-3.13/202-reset-rename-compat-prop.patch
blob: 3eb3a5ad0876b4f6f03dc07867f21beda2be7475 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From a1c859ab115c043662c2779d2e965bb09a90b8cb Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Tue, 17 Dec 2013 23:57:24 +0100
Subject: [PATCH] ARM: sunxi-clock-reset: rename compat property

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 arch/arm/boot/dts/sun6i-a31.dtsi | 4 ++--
 drivers/reset/reset-sunxi.c      | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

--- a/arch/arm/boot/dts/sun6i-a31.dtsi
+++ b/arch/arm/boot/dts/sun6i-a31.dtsi
@@ -220,13 +220,13 @@
 
 		apb1_rst: reset@01c202d0 {
 			#reset-cells = <1>;
-			compatible = "allwinner,sun6i-a31-clock-reset";
+			compatible = "allwinner,sun4i-clock-reset";
 			reg = <0x01c202d0 0x4>;
 		};
 
 		apb2_rst: reset@01c202d8 {
 			#reset-cells = <1>;
-			compatible = "allwinner,sun6i-a31-clock-reset";
+			compatible = "allwinner,sun4i-clock-reset";
 			reg = <0x01c202d8 0x4>;
 		};
 
--- a/drivers/reset/reset-sunxi.c
+++ b/drivers/reset/reset-sunxi.c
@@ -138,7 +138,7 @@ void __init sun6i_reset_init(void)
  * device model.
  */
 static const struct of_device_id sunxi_reset_dt_ids[] = {
-	 { .compatible = "allwinner,sun6i-a31-clock-reset", },
+	 { .compatible = "allwinner,sun4i-clock-reset", },
 	 { /* sentinel */ },
 };
 MODULE_DEVICE_TABLE(of, sunxi_reset_dt_ids);