mirror of https://gitee.com/openkylin/linux.git
V4L/DVB (13606): vpfe_capture: move vpfe_remove to .devexit
The function vpfe_remove is used only wrapped by __devexit_p so define it using __devexit. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
50e55fd13f
commit
9d8938248c
|
@ -2090,7 +2090,7 @@ static __init int vpfe_probe(struct platform_device *pdev)
|
||||||
/*
|
/*
|
||||||
* vpfe_remove : It un-register device from V4L2 driver
|
* vpfe_remove : It un-register device from V4L2 driver
|
||||||
*/
|
*/
|
||||||
static int vpfe_remove(struct platform_device *pdev)
|
static int __devexit vpfe_remove(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct vpfe_device *vpfe_dev = platform_get_drvdata(pdev);
|
struct vpfe_device *vpfe_dev = platform_get_drvdata(pdev);
|
||||||
struct resource *res;
|
struct resource *res;
|
||||||
|
|
Loading…
Reference in New Issue