aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-06-27 20:04:00 -0400
committerOlof Johansson <olof@lixom.net>2013-06-27 20:04:00 -0400
commitfbd1a04b210d56ef84200df56fc0291746d4d4dc (patch)
treed3e963a13fb2c027129c9342a204a430b88c2f90
parentb88923451f792643a4b23fd2cab266a4cd4350da (diff)
parent7ba655fc965b073292349fa49fb9d16d701185bc (diff)
Merge branch 'msm/fixes' into next/late
Merging in msm/fixes to avoid silly conflicts at top level. Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r--arch/arm/boot/dts/msm8660-surf.dts4
-rw-r--r--arch/arm/boot/dts/msm8960-cdp.dts2
-rw-r--r--arch/arm/mach-msm/clock-debug.c2
-rw-r--r--drivers/gpio/gpio-msm-v1.c2
-rw-r--r--drivers/ssbi/ssbi.c1
5 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/msm8660-surf.dts b/arch/arm/boot/dts/msm8660-surf.dts
index 9bf49b3826ea..d347082d28f3 100644
--- a/arch/arm/boot/dts/msm8660-surf.dts
+++ b/arch/arm/boot/dts/msm8660-surf.dts
@@ -15,7 +15,7 @@
15 < 0x02081000 0x1000 >; 15 < 0x02081000 0x1000 >;
16 }; 16 };
17 17
18 timer@2000004 { 18 timer@2000000 {
19 compatible = "qcom,scss-timer", "qcom,msm-timer"; 19 compatible = "qcom,scss-timer", "qcom,msm-timer";
20 interrupts = <1 0 0x301>, 20 interrupts = <1 0 0x301>,
21 <1 1 0x301>, 21 <1 1 0x301>,
@@ -26,7 +26,7 @@
26 cpu-offset = <0x40000>; 26 cpu-offset = <0x40000>;
27 }; 27 };
28 28
29 serial@19c400000 { 29 serial@19c40000 {
30 compatible = "qcom,msm-hsuart", "qcom,msm-uart"; 30 compatible = "qcom,msm-hsuart", "qcom,msm-uart";
31 reg = <0x19c40000 0x1000>, 31 reg = <0x19c40000 0x1000>,
32 <0x19c00000 0x1000>; 32 <0x19c00000 0x1000>;
diff --git a/arch/arm/boot/dts/msm8960-cdp.dts b/arch/arm/boot/dts/msm8960-cdp.dts
index 2e4d87a125d6..7c9ef9b80c15 100644
--- a/arch/arm/boot/dts/msm8960-cdp.dts
+++ b/arch/arm/boot/dts/msm8960-cdp.dts
@@ -26,7 +26,7 @@
26 cpu-offset = <0x80000>; 26 cpu-offset = <0x80000>;
27 }; 27 };
28 28
29 serial@19c400000 { 29 serial@16440000 {
30 compatible = "qcom,msm-hsuart", "qcom,msm-uart"; 30 compatible = "qcom,msm-hsuart", "qcom,msm-uart";
31 reg = <0x16440000 0x1000>, 31 reg = <0x16440000 0x1000>,
32 <0x16400000 0x1000>; 32 <0x16400000 0x1000>;
diff --git a/arch/arm/mach-msm/clock-debug.c b/arch/arm/mach-msm/clock-debug.c
index 4886404d42f5..b0fbdf1cbdd1 100644
--- a/arch/arm/mach-msm/clock-debug.c
+++ b/arch/arm/mach-msm/clock-debug.c
@@ -104,7 +104,7 @@ int __init clock_debug_add(struct clk *clock)
104 if (!debugfs_base) 104 if (!debugfs_base)
105 return -ENOMEM; 105 return -ENOMEM;
106 106
107 strncpy(temp, clock->dbg_name, ARRAY_SIZE(temp)-1); 107 strlcpy(temp, clock->dbg_name, ARRAY_SIZE(temp));
108 for (ptr = temp; *ptr; ptr++) 108 for (ptr = temp; *ptr; ptr++)
109 *ptr = tolower(*ptr); 109 *ptr = tolower(*ptr);
110 110
diff --git a/drivers/gpio/gpio-msm-v1.c b/drivers/gpio/gpio-msm-v1.c
index c798585a3fe5..fb2cc90d0134 100644
--- a/drivers/gpio/gpio-msm-v1.c
+++ b/drivers/gpio/gpio-msm-v1.c
@@ -630,7 +630,7 @@ static struct irq_chip msm_gpio_irq_chip = {
630 .irq_set_type = msm_gpio_irq_set_type, 630 .irq_set_type = msm_gpio_irq_set_type,
631}; 631};
632 632
633static int __devinit gpio_msm_v1_probe(struct platform_device *pdev) 633static int gpio_msm_v1_probe(struct platform_device *pdev)
634{ 634{
635 int i, j = 0; 635 int i, j = 0;
636 const struct platform_device_id *dev_id = platform_get_device_id(pdev); 636 const struct platform_device_id *dev_id = platform_get_device_id(pdev);
diff --git a/drivers/ssbi/ssbi.c b/drivers/ssbi/ssbi.c
index f32da0258a8e..e561d3be54a5 100644
--- a/drivers/ssbi/ssbi.c
+++ b/drivers/ssbi/ssbi.c
@@ -350,6 +350,7 @@ static struct of_device_id ssbi_match_table[] = {
350 { .compatible = "qcom,ssbi" }, 350 { .compatible = "qcom,ssbi" },
351 {} 351 {}
352}; 352};
353MODULE_DEVICE_TABLE(of, ssbi_match_table);
353 354
354static struct platform_driver ssbi_driver = { 355static struct platform_driver ssbi_driver = {
355 .probe = ssbi_probe, 356 .probe = ssbi_probe,