Gitweb: http://git.kernel.org/linus/3d03ba4d1dd2246adff5a9ff1194a539b3bc05a7 Commit: 3d03ba4d1dd2246adff5a9ff1194a539b3bc05a7 Parent: ecdf6ceb8cf4756bd4214bf9755755752b6015f5 Author: Eric Miao <eric.y.miao@gmail.com> AuthorDate: Fri Jan 1 15:43:28 2010 +0800 Committer: Greg Kroah-Hartman <gregkh@suse.de> CommitDate: Sun Mar 7 17:04:46 2010 -0800 driver core: make platform_device_id table const The platform ID table is normally const, force that by adding the attribute. Signed-off-by: Eric Miao <eric.y.miao@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- include/linux/platform_device.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/platform_device.h b/include/linux/platform_device.h index 25e64b4..2c2d035 100644 --- a/include/linux/platform_device.h +++ b/include/linux/platform_device.h @@ -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; -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
