diff options
Diffstat (limited to 'drivers/media/platform/vimc/vimc-scaler.c')
-rw-r--r-- | drivers/media/platform/vimc/vimc-scaler.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/drivers/media/platform/vimc/vimc-scaler.c b/drivers/media/platform/vimc/vimc-scaler.c index fe77505d2679..0a3e086e12f3 100644 --- a/drivers/media/platform/vimc/vimc-scaler.c +++ b/drivers/media/platform/vimc/vimc-scaler.c | |||
@@ -431,21 +431,22 @@ static int vimc_sca_remove(struct platform_device *pdev) | |||
431 | return 0; | 431 | return 0; |
432 | } | 432 | } |
433 | 433 | ||
434 | static const struct platform_device_id vimc_sca_driver_ids[] = { | ||
435 | { | ||
436 | .name = VIMC_SCA_DRV_NAME, | ||
437 | }, | ||
438 | { } | ||
439 | }; | ||
440 | |||
434 | static struct platform_driver vimc_sca_pdrv = { | 441 | static struct platform_driver vimc_sca_pdrv = { |
435 | .probe = vimc_sca_probe, | 442 | .probe = vimc_sca_probe, |
436 | .remove = vimc_sca_remove, | 443 | .remove = vimc_sca_remove, |
444 | .id_table = vimc_sca_driver_ids, | ||
437 | .driver = { | 445 | .driver = { |
438 | .name = VIMC_SCA_DRV_NAME, | 446 | .name = VIMC_SCA_DRV_NAME, |
439 | }, | 447 | }, |
440 | }; | 448 | }; |
441 | 449 | ||
442 | static const struct platform_device_id vimc_sca_driver_ids[] = { | ||
443 | { | ||
444 | .name = VIMC_SCA_DRV_NAME, | ||
445 | }, | ||
446 | { } | ||
447 | }; | ||
448 | |||
449 | module_platform_driver(vimc_sca_pdrv); | 450 | module_platform_driver(vimc_sca_pdrv); |
450 | 451 | ||
451 | MODULE_DEVICE_TABLE(platform, vimc_sca_driver_ids); | 452 | MODULE_DEVICE_TABLE(platform, vimc_sca_driver_ids); |