Commit b5ba78de authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

gpio: remove use of __devinitconst

CONFIG_HOTPLUG is going away as an option so __devinitconst is no
longer needed.
Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Grant Likely <grant.likely@secretlab.ca>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aeca8ad1
...@@ -582,13 +582,13 @@ static __devexit int adnp_i2c_remove(struct i2c_client *client) ...@@ -582,13 +582,13 @@ static __devexit int adnp_i2c_remove(struct i2c_client *client)
return 0; return 0;
} }
static const struct i2c_device_id adnp_i2c_id[] __devinitconst = { static const struct i2c_device_id adnp_i2c_id[] = {
{ "gpio-adnp" }, { "gpio-adnp" },
{ }, { },
}; };
MODULE_DEVICE_TABLE(i2c, adnp_i2c_id); 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", }, { .compatible = "ad,gpio-adnp", },
{ }, { },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment