]> git.karo-electronics.de Git - linux-beck.git/commitdiff
gpio: remove use of __devinitconst
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:25:05 +0000 (13:25 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 19:39:59 +0000 (11:39 -0800)
CONFIG_HOTPLUG is going away as an option so __devinitconst is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/gpio-adnp.c

index 9f23684d1cfc4d3a39156f45122790847015ca08..2a34204bc72908aecd59abff757a0b8a49f02f69 100644 (file)
@@ -582,13 +582,13 @@ static __devexit int adnp_i2c_remove(struct i2c_client *client)
        return 0;
 }
 
-static const struct i2c_device_id adnp_i2c_id[] __devinitconst = {
+static const struct i2c_device_id adnp_i2c_id[] = {
        { "gpio-adnp" },
        { },
 };
 MODULE_DEVICE_TABLE(i2c, adnp_i2c_id);
 
-static const struct of_device_id adnp_of_match[] __devinitconst = {
+static const struct of_device_id adnp_of_match[] = {
        { .compatible = "ad,gpio-adnp", },
        { },
 };