[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: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
14f2226022
commit
cd624c7b7c
@@ -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,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user