From: Ivo van Doorn Date: Tue, 5 Jun 2007 07:04:46 +0000 (-0700) Subject: [RFKILL]: Make rfkill->name const X-Git-Tag: v2.6.22-rc5~95^2~13 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c36befb52350fa76bf3cb03d13ba2e17dbe8a508;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: David S. Miller --- diff --git a/include/linux/rfkill.h b/include/linux/rfkill.h index 7c1ffbab786..a8a6ea809da 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;