aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-29 10:37:35 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-29 10:37:35 +0000
commit357755f0cc5d37bf9d446d58f8493372b4e480ad (patch)
tree78eb11eacb8690766454e1672827f282dcfd1fe0 /target/linux/ramips
parentdaeb9d19f9b6c5256020da67cee15ec6eeb284da (diff)
downloadmaster-187ad058-357755f0cc5d37bf9d446d58f8493372b4e480ad.tar.gz
master-187ad058-357755f0cc5d37bf9d446d58f8493372b4e480ad.tar.bz2
master-187ad058-357755f0cc5d37bf9d446d58f8493372b4e480ad.zip
ramips: ramips_esw.c indentation cleanup
Minor indentation cleanup. Prepare for the main swconfig patch by cleaning up indentation a bit. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33298 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_esw.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_esw.c b/target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_esw.c
index a2fa579d8b..688036893d 100644
--- a/target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_esw.c
+++ b/target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_esw.c
@@ -19,11 +19,11 @@
#define RT305X_ESW_REG_FPA2 0xc8
#define RT305X_ESW_REG_FCT2 0xcc
#define RT305X_ESW_REG_SGC2 0xe4
-#define RT305X_ESW_REG_P0LED 0xa4
-#define RT305X_ESW_REG_P1LED 0xa8
-#define RT305X_ESW_REG_P2LED 0xac
-#define RT305X_ESW_REG_P3LED 0xb0
-#define RT305X_ESW_REG_P4LED 0xb4
+#define RT305X_ESW_REG_P0LED 0xa4
+#define RT305X_ESW_REG_P1LED 0xa8
+#define RT305X_ESW_REG_P2LED 0xac
+#define RT305X_ESW_REG_P3LED 0xb0
+#define RT305X_ESW_REG_P4LED 0xb4
#define RT305X_ESW_PCR0_WT_NWAY_DATA_S 16
#define RT305X_ESW_PCR0_WT_PHY_CMD BIT(13)
@@ -69,21 +69,21 @@
BIT(RT305X_ESW_PORT2) | BIT(RT305X_ESW_PORT3) | \
BIT(RT305X_ESW_PORT4))
-#define RT305X_ESW_PORTS_NOCPU \
+#define RT305X_ESW_PORTS_NOCPU \
(RT305X_ESW_PORTS_INTERNAL | BIT(RT305X_ESW_PORT5))
#define RT305X_ESW_PORTS_CPU BIT(RT305X_ESW_PORT6)
-#define RT305X_ESW_PORTS_ALL \
+#define RT305X_ESW_PORTS_ALL \
(RT305X_ESW_PORTS_NOCPU | RT305X_ESW_PORTS_CPU)
-#define RT305X_ESW_NUM_VLANS 16
-#define RT305X_ESW_NUM_PORTS 7
+#define RT305X_ESW_NUM_VLANS 16
+#define RT305X_ESW_NUM_PORTS 7
struct rt305x_esw {
- void __iomem *base;
+ void __iomem *base;
struct rt305x_esw_platform_data *pdata;
- spinlock_t reg_rw_lock;
+ spinlock_t reg_rw_lock;
};
static inline void