Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd624c7b authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Mauro Carvalho Chehab
Browse files

[media] drivers/media: add missing __devexit_p() annotations



Drivers that refer to a __devexit function in an operations
structure need to annotate that pointer with __devexit_p so
replace it with a NULL pointer when the section gets discarded.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 14f22260
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1695,7 +1695,7 @@ static struct pci_driver ddb_pci_driver = {
	.name        = "DDBridge",
	.id_table    = ddb_id_tbl,
	.probe       = ddb_probe,
	.remove      = ddb_remove,
	.remove      = __devexit_p(ddb_remove),
};

static __init int module_init_ddbridge(void)
+1 −1
Original line number Diff line number Diff line
@@ -223,7 +223,7 @@ static struct platform_driver timbradio_platform_driver = {
		.owner	= THIS_MODULE,
	},
	.probe		= timbradio_probe,
	.remove		= timbradio_remove,
	.remove		= __devexit_p(timbradio_remove),
};

module_platform_driver(timbradio_platform_driver);
+1 −1
Original line number Diff line number Diff line
@@ -430,7 +430,7 @@ static struct i2c_driver saa7706h_driver = {
		.name	= DRIVER_NAME,
	},
	.probe		= saa7706h_probe,
	.remove		= saa7706h_remove,
	.remove		= __devexit_p(saa7706h_remove),
	.id_table	= saa7706h_id,
};

+1 −1
Original line number Diff line number Diff line
@@ -211,7 +211,7 @@ static struct i2c_driver tef6862_driver = {
		.name	= DRIVER_NAME,
	},
	.probe		= tef6862_probe,
	.remove		= tef6862_remove,
	.remove		= __devexit_p(tef6862_remove),
	.id_table	= tef6862_id,
};

+1 −1
Original line number Diff line number Diff line
@@ -255,7 +255,7 @@ static struct usb_device_id imon_usb_id_table[] = {
static struct usb_driver imon_driver = {
	.name		= MOD_NAME,
	.probe		= imon_probe,
	.disconnect	= imon_disconnect,
	.disconnect	= __devexit_p(imon_disconnect),
	.suspend	= imon_suspend,
	.resume		= imon_resume,
	.id_table	= imon_usb_id_table,
Loading