aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-12-13 05:14:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-12-13 05:14:47 +0000
commit279ee0b0490a4f2f0669a0fc9952c91565137ba3 (patch)
treecc741d7174422cd2fa5ea821f64d710d25d56e71
parent3e1b2c2c93133919f69fe500711aeef755189272 (diff)
downloadupstream-279ee0b0490a4f2f0669a0fc9952c91565137ba3.tar.gz
upstream-279ee0b0490a4f2f0669a0fc9952c91565137ba3.tar.bz2
upstream-279ee0b0490a4f2f0669a0fc9952c91565137ba3.zip
add atheros reset button fixes from #2774
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9721 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/atheros/files/arch/mips/atheros/reset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/atheros/files/arch/mips/atheros/reset.c b/target/linux/atheros/files/arch/mips/atheros/reset.c
index cc2fb251a1..52fa3bbfcf 100644
--- a/target/linux/atheros/files/arch/mips/atheros/reset.c
+++ b/target/linux/atheros/files/arch/mips/atheros/reset.c
@@ -15,14 +15,14 @@
struct event_t {
struct work_struct wq;
int set;
- long int jiffies;
+ unsigned long jiffies;
};
static struct ar531x_boarddata *bcfg;
extern struct sock *uevent_sock;
extern u64 uevent_next_seqnum(void);
-static int seen;
+static unsigned long seen;
static inline void add_msg(struct sk_buff *skb, char *msg)
{