|
@@ -70,7 +70,7 @@ static struct quirk_entry quirk_dell_vostro_v130 = {
|
|
.touchpad_led = 1,
|
|
.touchpad_led = 1,
|
|
};
|
|
};
|
|
|
|
|
|
-static int dmi_matched(const struct dmi_system_id *dmi)
|
|
|
|
|
|
+static int __init dmi_matched(const struct dmi_system_id *dmi)
|
|
{
|
|
{
|
|
quirks = dmi->driver_data;
|
|
quirks = dmi->driver_data;
|
|
return 1;
|
|
return 1;
|
|
@@ -123,7 +123,7 @@ static const struct dmi_system_id dell_device_table[] __initconst = {
|
|
};
|
|
};
|
|
MODULE_DEVICE_TABLE(dmi, dell_device_table);
|
|
MODULE_DEVICE_TABLE(dmi, dell_device_table);
|
|
|
|
|
|
-static struct dmi_system_id dell_quirks[] = {
|
|
|
|
|
|
+static const struct dmi_system_id dell_quirks[] __initconst = {
|
|
{
|
|
{
|
|
.callback = dmi_matched,
|
|
.callback = dmi_matched,
|
|
.ident = "Dell Vostro V130",
|
|
.ident = "Dell Vostro V130",
|
|
@@ -780,7 +780,7 @@ static struct led_classdev touchpad_led = {
|
|
.flags = LED_CORE_SUSPENDRESUME,
|
|
.flags = LED_CORE_SUSPENDRESUME,
|
|
};
|
|
};
|
|
|
|
|
|
-static int touchpad_led_init(struct device *dev)
|
|
|
|
|
|
+static int __init touchpad_led_init(struct device *dev)
|
|
{
|
|
{
|
|
return led_classdev_register(dev, &touchpad_led);
|
|
return led_classdev_register(dev, &touchpad_led);
|
|
}
|
|
}
|