SMDKV310: Fix compilation.
[opensuse:kernel-source.git] / patches.arch / arm-smdkv310.patch
1 From: Alexander Graf <agraf@suse.de>
2 Date: Wed, 20 Mar 2013 21:17:25 +0100
3 Subject: [PATCH] SMDKV310: Fix compilation
4 Patch-Mainline: No
5
6 Apparently __devinitdata has gone from the kernel tree. Remove it from
7 the regulator struct definition too, so that the code compiles.
8
9 Signed-off-by: Alexander Graf <agraf@suse.de>
10
11 Index: linux-3.9-rc3-master/arch/arm/mach-exynos/mach-smdkv310.c
12 ===================================================================
13 --- linux-3.9-rc3-master.orig/arch/arm/mach-exynos/mach-smdkv310.c
14 +++ linux-3.9-rc3-master/arch/arm/mach-exynos/mach-smdkv310.c
15 @@ -382,7 +382,7 @@ static void __init smdkv310_reserve(void
16         s5p_mfc_reserve_mem(0x43000000, 8 << 20, 0x51000000, 8 << 20);
17  }
18  
19 -static struct regulator_consumer_supply vddmmc_consumers[] __devinitdata = {
20 +static struct regulator_consumer_supply vddmmc_consumers[] = {
21         REGULATOR_SUPPLY("vmmc", "s3c-sdhci.0"),
22         REGULATOR_SUPPLY("vmmc", "s3c-sdhci.1"),
23         REGULATOR_SUPPLY("vmmc", "s3c-sdhci.2"),