]> git.sur5r.net Git - groeck-nct6775/commitdiff
Replace __initdata with __initconst
authorGuenter Roeck <linux@roeck-us.net>
Wed, 30 May 2012 15:56:06 +0000 (08:56 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 30 May 2012 15:56:06 +0000 (08:56 -0700)
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
nct6775.c

index f32346d36bf62f09578a8056dc5fc89a8b8b8c73..29bde779ff0654093f35d7ed41e8e84eb5f96ede 100644 (file)
--- a/nct6775.c
+++ b/nct6775.c
@@ -3682,9 +3682,9 @@ static struct platform_driver nct6775_driver = {
 static int __init nct6775_find(int sioaddr, unsigned short *addr,
                               struct nct6775_sio_data *sio_data)
 {
-       static const char __initdata sio_name_NCT6775[] = "NCT6775F";
-       static const char __initdata sio_name_NCT6776[] = "NCT6776F";
-       static const char __initdata sio_name_NCT6779[] = "NCT6779D";
+       static const char sio_name_NCT6775[] __initconst = "NCT6775F";
+       static const char sio_name_NCT6776[] __initconst = "NCT6776F";
+       static const char sio_name_NCT6779[] __initconst = "NCT6779D";
 
        u16 val;
        const char *sio_name;