Commit c36befb5 authored by Ivo van Doorn's avatar Ivo van Doorn Committed by David S. Miller
Browse files

[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: default avatarIvo van Doorn <IvDoorn@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 71e27da9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;