diff options
author | Ivo van Doorn <IvDoorn@gmail.com> | 2007-06-05 00:04:46 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-06-07 13:39:34 -0700 |
commit | c36befb52350fa76bf3cb03d13ba2e17dbe8a508 (patch) | |
tree | 1e3187430ee10c2b5f7aa1dc51d79d810a2ccd2a | |
parent | 71e27da9618b5f4d525ec821def83991da20429f (diff) | |
download | kernel_samsung_tuna-c36befb52350fa76bf3cb03d13ba2e17dbe8a508.zip kernel_samsung_tuna-c36befb52350fa76bf3cb03d13ba2e17dbe8a508.tar.gz kernel_samsung_tuna-c36befb52350fa76bf3cb03d13ba2e17dbe8a508.tar.bz2 |
[RFKILL]: Make rfkill->name const
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>
-rw-r--r-- | include/linux/rfkill.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rfkill.h b/include/linux/rfkill.h index 7c1ffba..a8a6ea8 100644 --- 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; + const char *name; enum rfkill_type type; enum rfkill_state state; |