Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: 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: Brian Norris <computersforpeace@gmail.com>

authored by

Krzysztof Kozlowski and committed by
Brian Norris
b9466532 0abe75d2

+1 -1
+1 -1
drivers/mtd/onenand/samsung.c
··· 1083 1083 .resume = s3c_pm_ops_resume, 1084 1084 }; 1085 1085 1086 - static struct platform_device_id s3c_onenand_driver_ids[] = { 1086 + static const struct platform_device_id s3c_onenand_driver_ids[] = { 1087 1087 { 1088 1088 .name = "s3c6400-onenand", 1089 1089 .driver_data = TYPE_S3C6400,