On Fri, Nov 19, 2010 at 04:02:00PM -0000, Jean Delvare wrote: > Building the kernel (2.6.37-rc2-git5) with CONFIG_ACPI_VIDEO=n fails > for me because of these errors: > > include/acpi/video.h:22:11: warning: "struct acpi_device" declared inside parameter list > include/acpi/video.h:22:11: warning: its scope is only this definition or declaration, which is probably not what you want > include/acpi/video.h: In function "acpi_video_get_edid": > include/acpi/video.h:24:10: error: "ENODEV" undeclared (first use in this function) > include/acpi/video.h:24:10: note: each undeclared identifier is reported only once for each function it appears in > > Adding the missing include and structure declaration fixes it. > > Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx> > Acked-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Acked-by: Guenter Roeck <guenter.roeck@xxxxxxxxxxxx> Yes, it would be great if someone would apply one of the patches. Build fails for me with CONFIG_PM=n. Guenter -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html