Re: [PATCH] Fix missing include of list.h in sysfs.h

From: Greg KH
Date: Wed Jan 17 2007 - 16:18:28 EST


On Wed, Jan 17, 2007 at 05:51:18PM +0100, Frank Haverkamp wrote:
> Sysfs.h uses definitions (e.g. struct list_head s_sibling) from list.h
> but does not include it.
>
> Signed-off-by: Frank Haverkamp <haver@xxxxxxxxxxxx>
> ---
> include/linux/sysfs.h | 1 +
> 1 file changed, 1 insertion(+)
>
> --- ubi-2.6.git.orig/include/linux/sysfs.h
> +++ ubi-2.6.git/include/linux/sysfs.h
> @@ -11,6 +11,7 @@
> #define _SYSFS_H_
>
> #include <linux/compiler.h>
> +#include <linux/list.h>
> #include <asm/atomic.h>

Does this currently cause a build error on any platform for 2.6.20-rc5?

thanks,

greg k-h
-
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/