Parcourir la source

add atheros reset button fixes from #2774

SVN-Revision: 9721
Felix Fietkau il y a 18 ans
Parent
commit
0f0a49c98f
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      target/linux/atheros/files/arch/mips/atheros/reset.c

+ 2 - 2
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)
 {