mfd: ab8500-debugfs: Remove extraneous curly brace
[linux-2.6-microblaze.git] / drivers / mfd / sun4i-gpadc.c
index b346fbc..cfe14d9 100644 (file)
@@ -18,7 +18,7 @@
 #define ARCH_SUN5I_A13 1
 #define ARCH_SUN6I_A31 2
 
-static struct resource adc_resources[] = {
+static const struct resource adc_resources[] = {
        DEFINE_RES_IRQ_NAMED(SUN4I_GPADC_IRQ_FIFO_DATA, "FIFO_DATA_PENDING"),
        DEFINE_RES_IRQ_NAMED(SUN4I_GPADC_IRQ_TEMP_DATA, "TEMP_DATA_PENDING"),
 };
@@ -166,7 +166,7 @@ static int sun4i_gpadc_probe(struct platform_device *pdev)
 static struct platform_driver sun4i_gpadc_driver = {
        .driver = {
                .name = "sun4i-gpadc",
-               .of_match_table = of_match_ptr(sun4i_gpadc_of_match),
+               .of_match_table = sun4i_gpadc_of_match,
        },
        .probe = sun4i_gpadc_probe,
 };