lkml.org 
[lkml]   [2006]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Fix build failure in recent pm_prepare_* changes.
    "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
    >
    > > > --- linux-2.6.16-rc1-mm5.orig/drivers/macintosh/via-pmu.c
    > > > +++ linux-2.6.16-rc1-mm5/drivers/macintosh/via-pmu.c
    > > > @@ -2070,6 +2070,14 @@ restore_via_state(void)
    > > > out_8(&via[IER], IER_SET | SR_INT | CB1_INT);
    > > > }
    > > >
    > > > +#if defined(CONFIG_VT) && defined(CONFIG_VT_CONSOLE)
    > > > +extern int pm_prepare_console(void);
    > > > +extern void pm_restore_console(void);
    > > > +#else
    > > > +static int pm_prepare_console(void) { return 0; }
    > > > +static void pm_restore_console(void) {}
    > > > +#endif
    > > > +
    > >
    > > These should be in a header file. Presumably one which
    > > kernel/power/power.h includes, too.
    >
    > Then I think I should move all that to include/linux/suspend.h.

    Sounds sane. Or <linux/console.h>.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-02-07 01:44    [W:4.963 / U:0.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site