summaryrefslogtreecommitdiff
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
commit0f0a49c98f7e4c3acfaa37cc518fe5cc3f137b1e (patch)
tree810c2eb3ee19669394756728325c5dbb98c23635
parenta017e2ad7f0cd7ed1c4ca77af608c6a5bc955eee (diff)
downloadmtk-20170518-0f0a49c98f7e4c3acfaa37cc518fe5cc3f137b1e.zip
mtk-20170518-0f0a49c98f7e4c3acfaa37cc518fe5cc3f137b1e.tar.gz
mtk-20170518-0f0a49c98f7e4c3acfaa37cc518fe5cc3f137b1e.tar.bz2
add atheros reset button fixes from #2774
SVN-Revision: 9721
-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 cc2fb25..52fa3bb 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)
{