network: prevent unnecessary interface down/up cycles if no mac address change is...
[openwrt.git] / package / button-hotplug / src / button-hotplug.c
index f76b927..4bdf364 100644 (file)
 
 #define BH_ERR(fmt, args...) printk(KERN_ERR "%s: " fmt, DRV_NAME, ##args )
 
+#ifndef BIT_MASK
+#define BIT_MASK(nr)            (1UL << ((nr) % BITS_PER_LONG))
+#endif
+
 struct bh_priv {
        unsigned long           seen[BH_BTN_COUNT];
        struct input_handle     handle;
This page took 0.021163 seconds and 4 git commands to generate.