summaryrefslogtreecommitdiff
path: root/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-10 09:05:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-10 09:05:47 +0000
commit58d70ff9b3d15880df72e4cb122ba786b9a9cd64 (patch)
tree5c5f8dfff022c41b91c17d8c96ccc0616e82c007 /target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch
parent8b4323ad31f5c4e5aacd1dc4badf0bef0db922ed (diff)
downloadmtk-20170518-58d70ff9b3d15880df72e4cb122ba786b9a9cd64.zip
mtk-20170518-58d70ff9b3d15880df72e4cb122ba786b9a9cd64.tar.gz
mtk-20170518-58d70ff9b3d15880df72e4cb122ba786b9a9cd64.tar.bz2
atheros: do not initialize statics to 0 or false
as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41086
Diffstat (limited to 'target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch')
-rw-r--r--target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch b/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch
index 35344ca..58cccd0 100644
--- a/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch
+++ b/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch
@@ -4,7 +4,7 @@
static int ar231x_mdiobus_reset(struct mii_bus *bus);
static int ar231x_mdiobus_probe (struct net_device *dev);
static void ar231x_adjust_link(struct net_device *dev);
-+static bool no_phy = false;
++static bool no_phy;
#ifndef ERR
#define ERR(fmt, args...) printk("%s: " fmt, __func__, ##args)