projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71e27da
)
[RFKILL]: Make rfkill->name const
author
Ivo van Doorn
<IvDoorn@gmail.com>
Tue, 5 Jun 2007 07:04:46 +0000
(
00:04
-0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 7 Jun 2007 20:39:34 +0000
(13:39 -0700)
The rfkill name can be made const safely,
this makes the compiler happy when drivers make
it point to some const string used elsewhere.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rfkill.h
patch
|
blob
|
history
diff --git
a/include/linux/rfkill.h
b/include/linux/rfkill.h
index 7c1ffbab78657a105018ffd2c71b8871496255f4..a8a6ea809da096d19fbb0d164c986be671dcef12 100644
(file)
--- a/
include/linux/rfkill.h
+++ b/
include/linux/rfkill.h
@@
-63,7
+63,7
@@
enum rfkill_state {
* This structure represents a RF switch located on a network device.
*/
struct rfkill {
- char *name;
+ c
onst c
har *name;
enum rfkill_type type;
enum rfkill_state state;