summaryrefslogtreecommitdiffstats
path: root/board/samsung
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2015-10-23 16:15:04 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2015-11-02 10:38:22 +0900
commit1d83970f6f6003276373843b8e2fd75f78f1caf3 (patch)
treef0813332fb3eefc0bf1912bbd74bd1b8a92679c0 /board/samsung
parent9eae8441251188287ddd706196596a3117802449 (diff)
downloadtalos-obmc-uboot-1d83970f6f6003276373843b8e2fd75f78f1caf3.tar.gz
talos-obmc-uboot-1d83970f6f6003276373843b8e2fd75f78f1caf3.zip
odroid: clean up checkpatch issues
This patch will fix these checkpatch issues. +static const char *mmc_regulators[] = { CHECK: Blank lines aren't necessary before a close brace '}' + +} Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung')
-rw-r--r--board/samsung/odroid/odroid.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/board/samsung/odroid/odroid.c b/board/samsung/odroid/odroid.c
index 32155f1184..36d493d514 100644
--- a/board/samsung/odroid/odroid.c
+++ b/board/samsung/odroid/odroid.c
@@ -33,13 +33,6 @@ enum {
ODROID_TYPES,
};
-static const char *mmc_regulators[] = {
- "VDDQ_EMMC_1.8V",
- "VDDQ_EMMC_2.8V",
- "TFLASH_2.8V",
- NULL,
-};
-
void set_board_type(void)
{
/* Set GPA1 pin 1 to HI - enable XCL205 output */
@@ -428,6 +421,13 @@ int exynos_init(void)
int exynos_power_init(void)
{
+ const char *mmc_regulators[] = {
+ "VDDQ_EMMC_1.8V",
+ "VDDQ_EMMC_2.8V",
+ "TFLASH_2.8V",
+ NULL,
+ };
+
if (regulator_list_autoset(mmc_regulators, NULL, true))
error("Unable to init all mmc regulators");
@@ -450,7 +450,6 @@ static int s5pc210_phy_control(int on)
return regulator_set_mode(dev, OPMODE_ON);
else
return regulator_set_mode(dev, OPMODE_LPM);
-
}
struct s3c_plat_otg_data s5pc210_otg_data = {
OpenPOWER on IntegriCloud