From: nbd Date: Thu, 13 Dec 2007 05:14:47 +0000 (+0000) Subject: add atheros reset button fixes from #2774 X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;ds=sidebyside;h=e373d77d2ecc6813b0bc8dd012444d4545749c56;hp=5cc4ef352f25536b07e49dd0d96b7b61c5c7c635;p=openwrt-10.03%2F.git add atheros reset button fixes from #2774 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9721 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/atheros/files/arch/mips/atheros/reset.c b/target/linux/atheros/files/arch/mips/atheros/reset.c index cc2fb251a..52fa3bbfc 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) {