Author: nbd Date: 2014-06-10 11:05:47 +0200 (Tue, 10 Jun 2014) New Revision: 41086
Modified: trunk/target/linux/atheros/patches-3.10/100-board.patch trunk/target/linux/atheros/patches-3.10/130-watchdog.patch trunk/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch Log: atheros: do not initialize statics to 0 or false as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <[email protected]> Modified: trunk/target/linux/atheros/patches-3.10/100-board.patch =================================================================== --- trunk/target/linux/atheros/patches-3.10/100-board.patch 2014-06-10 09:05:43 UTC (rev 41085) +++ trunk/target/linux/atheros/patches-3.10/100-board.patch 2014-06-10 09:05:47 UTC (rev 41086) @@ -2147,7 +2147,7 @@ +#include "devices.h" +#include "ar2315.h" + -+static u32 gpiointmask = 0, gpiointval = 0; ++static u32 gpiointmask, gpiointval; + +static inline void ar2315_gpio_irq(void) +{ Modified: trunk/target/linux/atheros/patches-3.10/130-watchdog.patch =================================================================== --- trunk/target/linux/atheros/patches-3.10/130-watchdog.patch 2014-06-10 09:05:43 UTC (rev 41085) +++ trunk/target/linux/atheros/patches-3.10/130-watchdog.patch 2014-06-10 09:05:47 UTC (rev 41086) @@ -44,8 +44,8 @@ +#define HEARTBEAT(x) (x < 1 || x > 90 ? 20 : x) + +static int wdt_timeout = 20; -+static int started = 0; -+static int in_use = 0; ++static int started; ++static int in_use; + +static void +ar2315_wdt_enable(void) Modified: trunk/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch =================================================================== --- trunk/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch 2014-06-10 09:05:43 UTC (rev 41085) +++ trunk/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch 2014-06-10 09:05:47 UTC (rev 41086) @@ -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) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
