lkml.org 
[lkml]   [2010]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 resend] OLPC: Add XO-1 suspend/resume support
On Wed, 8 Dec 2010 22:56:50 +0000
Daniel Drake <dsd@laptop.org> 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.


\
 
 \ /
  Last update: 2010-12-09 00:09    [W:0.054 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site