1
0
Fork 0

mmc: s3cmci: 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: Ulf Hansson <ulf.hansson@linaro.org>
hifive-unleashed-5.1
Krzysztof Kozlowski 2015-05-02 00:49:20 +09:00 committed by Ulf Hansson
parent f2483b0d19
commit 6a643206ef
1 changed files with 1 additions and 1 deletions

View File

@ -1856,7 +1856,7 @@ static int s3cmci_remove(struct platform_device *pdev)
return 0;
}
static struct platform_device_id s3cmci_driver_ids[] = {
static const struct platform_device_id s3cmci_driver_ids[] = {
{
.name = "s3c2410-sdi",
.driver_data = 0,