On Thu, Mar 09, 2017 at 08:16:03AM -0600, Steven J. Hill wrote: > From: "Steven J. Hill" <Steven.Hill@xxxxxxxxxx> > > Remove unused headers and fix warnings from checkpatch. > > Signed-off-by: Steven J. Hill <Steven.Hill@xxxxxxxxxx> > Acked-by: David Daney <david.daney@xxxxxxxxxx> > --- > arch/mips/cavium-octeon/octeon-platform.c | 16 ++++++++++++---- > 1 file changed, 12 insertions(+), 4 deletions(-) > > diff --git a/arch/mips/cavium-octeon/octeon-platform.c b/arch/mips/cavium-octeon/octeon-platform.c > index 72d2a5e..1a1e11f 100644 > --- a/arch/mips/cavium-octeon/octeon-platform.c > +++ b/arch/mips/cavium-octeon/octeon-platform.c > @@ -7,8 +7,6 @@ > * Copyright (C) 2008 Wind River Systems > */ > > -#include <linux/init.h> > -#include <linux/delay.h> > #include <linux/etherdevice.h> > #include <linux/of_platform.h> > #include <linux/of_fdt.h> > @@ -440,7 +438,7 @@ static int __init octeon_rng_device_init(void) > } > device_initcall(octeon_rng_device_init); > > -static struct of_device_id __initdata octeon_ids[] = { > +const struct of_device_id octeon_ids[] __initconst = { I think it should static const. A.