lkml.org 
[lkml]   [2005]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: 2.6.15-rc2-mm1
    KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
    >
    > CHK include/linux/version.h
    > CHK include/linux/compile.h
    > CHK usr/initramfs_list
    > CC drivers/base/memory.o
    > drivers/base/memory.c:28: error: static declaration of 'memory_sysdev_class' follows non-static declaration
    > include/linux/memory.h:88: error: previous declaration of 'memory_sysdev_class' was here

    Thanks.

    --- devel/include/linux/memory.h~memory_sysdev_class-is-static 2005-11-23 21:01:27.000000000 -0800
    +++ devel-akpm/include/linux/memory.h 2005-11-23 21:01:36.000000000 -0800
    @@ -85,7 +85,6 @@ struct notifier_block;
    extern int register_memory_notifier(struct notifier_block *nb);
    extern void unregister_memory_notifier(struct notifier_block *nb);

    -extern struct sysdev_class memory_sysdev_class;
    #endif /* CONFIG_MEMORY_HOTPLUG */

    #define hotplug_memory_notifier(fn, pri) { \
    _
    -
    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: 2005-11-24 06:05    [W:3.750 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site