diff options
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap/0001-board-omap3beagle-whitespace-cleanup.patch')
-rw-r--r-- | extras/recipes-kernel/linux/linux-omap/0001-board-omap3beagle-whitespace-cleanup.patch | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap/0001-board-omap3beagle-whitespace-cleanup.patch b/extras/recipes-kernel/linux/linux-omap/0001-board-omap3beagle-whitespace-cleanup.patch new file mode 100644 index 00000000..69105575 --- /dev/null +++ b/extras/recipes-kernel/linux/linux-omap/0001-board-omap3beagle-whitespace-cleanup.patch | |||
@@ -0,0 +1,91 @@ | |||
1 | From e5e52482147151aaaafbd388d1e5978268e51d24 Mon Sep 17 00:00:00 2001 | ||
2 | Message-Id: <e5e52482147151aaaafbd388d1e5978268e51d24.1307392642.git.dvhart@linux.intel.com> | ||
3 | From: Darren Hart <dvhart@linux.intel.com> | ||
4 | Date: Mon, 6 Jun 2011 10:17:56 -0700 | ||
5 | Subject: [PATCH 1/2] board-omap3beagle: whitespace cleanup | ||
6 | |||
7 | Eliminate leading and trailing whitespace. | ||
8 | Indent with tabs. | ||
9 | |||
10 | Signed-off-by: Darren Hart <dvhart@linux.intel.com> | ||
11 | --- | ||
12 | arch/arm/mach-omap2/board-omap3beagle.c | 28 ++++++++++++++-------------- | ||
13 | 1 files changed, 14 insertions(+), 14 deletions(-) | ||
14 | |||
15 | diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c | ||
16 | index b035bb5..b618cb6 100644 | ||
17 | --- a/arch/arm/mach-omap2/board-omap3beagle.c | ||
18 | +++ b/arch/arm/mach-omap2/board-omap3beagle.c | ||
19 | @@ -167,12 +167,12 @@ struct wl12xx_platform_data omap_beagle_wlan_data __initdata = { | ||
20 | .board_ref_clock = 2, /* 38.4 MHz */ | ||
21 | }; | ||
22 | |||
23 | - static struct omap2_hsmmc_info mmcbbt[] = { | ||
24 | - { | ||
25 | - .mmc = 1, | ||
26 | - .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA, | ||
27 | - .gpio_wp = 29, | ||
28 | - }, | ||
29 | +static struct omap2_hsmmc_info mmcbbt[] = { | ||
30 | + { | ||
31 | + .mmc = 1, | ||
32 | + .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA, | ||
33 | + .gpio_wp = 29, | ||
34 | + }, | ||
35 | { | ||
36 | .name = "wl1271", | ||
37 | .mmc = 2, | ||
38 | @@ -181,8 +181,8 @@ struct wl12xx_platform_data omap_beagle_wlan_data __initdata = { | ||
39 | .gpio_cd = -EINVAL, | ||
40 | .nonremovable = true, | ||
41 | }, | ||
42 | - {} /* Terminator */ | ||
43 | - }; | ||
44 | + {} /* Terminator */ | ||
45 | +}; | ||
46 | |||
47 | static struct regulator_consumer_supply beagle_vmmc2_supply = { | ||
48 | .supply = "vmmc", | ||
49 | @@ -455,7 +455,7 @@ static int beagle_twl_gpio_setup(struct device *dev, | ||
50 | /* gpio + 0 is "mmc0_cd" (input/IRQ) */ | ||
51 | mmc[0].gpio_cd = gpio + 0; | ||
52 | #if defined(CONFIG_WL1271) || defined(CONFIG_WL1271_MODULE) | ||
53 | - if(!strcmp(expansionboard_name, "bbtoys-wifi")) { | ||
54 | + if(!strcmp(expansionboard_name, "bbtoys-wifi")) { | ||
55 | omap2_hsmmc_init(mmcbbt); | ||
56 | /* link regulators to MMC adapters */ | ||
57 | beagle_vmmc1_supply.dev = mmcbbt[0].dev; | ||
58 | @@ -648,9 +648,9 @@ static struct i2c_board_info __initdata beagle_i2c1_boardinfo[] = { | ||
59 | }; | ||
60 | |||
61 | static struct i2c_board_info __initdata beagle_i2c_eeprom[] = { | ||
62 | - { | ||
63 | - I2C_BOARD_INFO("eeprom", 0x50), | ||
64 | - }, | ||
65 | + { | ||
66 | + I2C_BOARD_INFO("eeprom", 0x50), | ||
67 | + }, | ||
68 | }; | ||
69 | |||
70 | #if defined(CONFIG_RTC_DRV_DS1307) || \ | ||
71 | @@ -888,7 +888,7 @@ static void __init omap3_beagle_init(void) | ||
72 | /* REVISIT leave DVI powered down until it's needed ... */ | ||
73 | gpio_direction_output(170, true); | ||
74 | |||
75 | - if(!strcmp(expansionboard_name, "zippy")) | ||
76 | + if(!strcmp(expansionboard_name, "zippy")) | ||
77 | { | ||
78 | printk(KERN_INFO "Beagle expansionboard: initializing enc28j60\n"); | ||
79 | omap3beagle_enc28j60_init(); | ||
80 | @@ -897,7 +897,7 @@ static void __init omap3_beagle_init(void) | ||
81 | mmc[1].gpio_cd = 162; | ||
82 | } | ||
83 | |||
84 | - if(!strcmp(expansionboard_name, "zippy2")) | ||
85 | + if(!strcmp(expansionboard_name, "zippy2")) | ||
86 | { | ||
87 | printk(KERN_INFO "Beagle expansionboard: initializing ks_8851\n"); | ||
88 | omap3beagle_ks8851_init(); | ||
89 | -- | ||
90 | 1.7.1 | ||
91 | |||