From: Bill Pemberton Date: Mon, 19 Nov 2012 18:25:05 +0000 (-0500) Subject: gpio: remove use of __devinitconst X-Git-Tag: next-20121205~29^2~62 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b5ba78de76b0a39cfcf08dec78e90b737e995965;p=karo-tx-linux.git gpio: remove use of __devinitconst CONFIG_HOTPLUG is going away as an option so __devinitconst is no longer needed. Signed-off-by: Bill Pemberton Cc: Grant Likely Acked-by: Linus Walleij Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/gpio/gpio-adnp.c b/drivers/gpio/gpio-adnp.c index 9f23684d1cfc..2a34204bc729 100644 --- a/drivers/gpio/gpio-adnp.c +++ b/drivers/gpio/gpio-adnp.c @@ -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", }, { }, };