Re: [PATCH v5 resend] OLPC: Add XO-1 suspend/resume support

From: Andrew Morton
Date: Wed Dec 08 2010 - 18:06:47 EST


On Wed, 8 Dec 2010 22:56:50 +0000
Daniel Drake <dsd@xxxxxxxxxx> wrote:

> > Also, this checkpatch warning
> >
> > WARNING: struct platform_suspend_ops should normally be const
> > #502: FILE: arch/x86/platform/olpc/xo1.c:106:
> > +static struct platform_suspend_ops xo1_suspend_ops = {
> >
> > seems valid.
>
> When you correct it (to make it const), gcc gives a warning, because
> suspend_set_ops() takes non-const arg.

suspend_set_ops() is fixed in linux-next.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/