ARM: SAMSUNG: Constify platform_device_id
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: Kukjin Kim <kgene@kernel.org>
This commit is contained in:
parent
fc4a2cc7c3
commit
e6350c575e
|
@ -475,7 +475,7 @@ static int s3c_adc_resume(struct device *dev)
|
|||
#define s3c_adc_resume NULL
|
||||
#endif
|
||||
|
||||
static struct platform_device_id s3c_adc_driver_ids[] = {
|
||||
static const struct platform_device_id s3c_adc_driver_ids[] = {
|
||||
{
|
||||
.name = "s3c24xx-adc",
|
||||
.driver_data = TYPE_ADCV1,
|
||||
|
|
Loading…
Reference in a new issue