projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] i2c-gpio-custom: minor bugfix
[openwrt.git]
/
package
/
b43
/
src
/
rfkill.h
diff --git
a/package/b43/src/rfkill.h
b/package/b43/src/rfkill.h
index
29544e8
..
adacf93
100644
(file)
--- a/
package/b43/src/rfkill.h
+++ b/
package/b43/src/rfkill.h
@@
-15,14
+15,14
@@
struct b43_rfkill {
struct rfkill *rfkill;
/* The poll device for the RFKILL input button */
struct input_polled_dev *poll_dev;
struct rfkill *rfkill;
/* The poll device for the RFKILL input button */
struct input_polled_dev *poll_dev;
+ /* Did initialization succeed? Used for freeing. */
+ bool registered;
/* The unique name of this rfkill switch */
/* The unique name of this rfkill switch */
- char name[
32
];
+ char name[
sizeof("b43-phy4294967295")
];
};
};
-/*
All the init functions return
void, because we are not interested
+/*
The init function returns
void, because we are not interested
* in failing the b43 init process when rfkill init failed. */
* in failing the b43 init process when rfkill init failed. */
-void b43_rfkill_alloc(struct b43_wldev *dev);
-void b43_rfkill_free(struct b43_wldev *dev);
void b43_rfkill_init(struct b43_wldev *dev);
void b43_rfkill_exit(struct b43_wldev *dev);
void b43_rfkill_init(struct b43_wldev *dev);
void b43_rfkill_exit(struct b43_wldev *dev);
@@
-36,12
+36,6
@@
struct b43_rfkill {
/* empty */
};
/* empty */
};
-static inline void b43_rfkill_alloc(struct b43_wldev *dev)
-{
-}
-static inline void b43_rfkill_free(struct b43_wldev *dev)
-{
-}
static inline void b43_rfkill_init(struct b43_wldev *dev)
{
}
static inline void b43_rfkill_init(struct b43_wldev *dev)
{
}
This page took
0.020131 seconds
and
4
git commands to generate.