Prev: [PATCH 02/62] kset-example: Spelling fixes.
Next: tty: Add a new VT mode which is like VT_PROCESS but doesn't require a VT_RELDISP ioctl call
From: Greg Kroah-Hartman on 2 Mar 2010 19:10 From: Eric Miao <eric.y.miao(a)gmail.com> The platform ID table is normally const, force that by adding the attribute. Signed-off-by: Eric Miao <eric.y.miao(a)gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh(a)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; -- 1.7.0.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |