Skip to content
Snippets Groups Projects
Commit 58d70ff9 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

atheros: do not initialize statics to 0 or false


as suggested by checkpatch.

Signed-off-by: default avatarSergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41086
parent 8b4323ad
No related branches found
No related tags found
No related merge requests found
...@@ -2147,7 +2147,7 @@ ...@@ -2147,7 +2147,7 @@
+#include "devices.h" +#include "devices.h"
+#include "ar2315.h" +#include "ar2315.h"
+ +
+static u32 gpiointmask = 0, gpiointval = 0; +static u32 gpiointmask, gpiointval;
+ +
+static inline void ar2315_gpio_irq(void) +static inline void ar2315_gpio_irq(void)
+{ +{
......
...@@ -44,8 +44,8 @@ ...@@ -44,8 +44,8 @@
+#define HEARTBEAT(x) (x < 1 || x > 90 ? 20 : x) +#define HEARTBEAT(x) (x < 1 || x > 90 ? 20 : x)
+ +
+static int wdt_timeout = 20; +static int wdt_timeout = 20;
+static int started = 0; +static int started;
+static int in_use = 0; +static int in_use;
+ +
+static void +static void
+ar2315_wdt_enable(void) +ar2315_wdt_enable(void)
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
static int ar231x_mdiobus_reset(struct mii_bus *bus); static int ar231x_mdiobus_reset(struct mii_bus *bus);
static int ar231x_mdiobus_probe (struct net_device *dev); static int ar231x_mdiobus_probe (struct net_device *dev);
static void ar231x_adjust_link(struct net_device *dev); static void ar231x_adjust_link(struct net_device *dev);
+static bool no_phy = false; +static bool no_phy;
#ifndef ERR #ifndef ERR
#define ERR(fmt, args...) printk("%s: " fmt, __func__, ##args) #define ERR(fmt, args...) printk("%s: " fmt, __func__, ##args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment