From: Guenter Roeck Date: Wed, 30 May 2012 15:56:06 +0000 (-0700) Subject: Replace __initdata with __initconst X-Git-Tag: nct6775-v0.9~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ce173ad08a6fea5d9469c3e91cc007f8b384ec36;p=groeck-nct6775 Replace __initdata with __initconst Signed-off-by: Guenter Roeck --- diff --git a/nct6775.c b/nct6775.c index f32346d..29bde77 100644 --- 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;