Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d03ba4d authored by Eric Miao's avatar Eric Miao Committed by Greg Kroah-Hartman
Browse files

driver core: make platform_device_id table const



The platform ID table is normally const, force that by adding the attribute.

Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ecdf6ceb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ struct platform_device {
	u32		num_resources;
	struct resource	* resource;

	struct platform_device_id	*id_entry;
	const struct platform_device_id	*id_entry;

	/* arch specific additions */
	struct pdev_archdata	archdata;