projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleanup MTD option handling
[openwrt.git]
/
package
/
button-hotplug
/
src
/
button-hotplug.c
diff --git
a/package/button-hotplug/src/button-hotplug.c
b/package/button-hotplug/src/button-hotplug.c
index
f76b927
..
4bdf364
100644
(file)
--- a/
package/button-hotplug/src/button-hotplug.c
+++ b/
package/button-hotplug/src/button-hotplug.c
@@
-46,6
+46,10
@@
#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.025814 seconds
and
4
git commands to generate.