From: Len Brown Date: Fri, 16 Feb 2007 23:52:41 +0000 (-0500) Subject: Pull misc-for-upstream into release branch X-Git-Tag: v3.12-rc1~31521 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=81450b73dde07f473a4a7208b209b4c8b7251d90;p=kernel%2Fkernel-generic.git Pull misc-for-upstream into release branch Conflicts: drivers/usb/misc/appledisplay.c Signed-off-by: Len Brown --- 81450b73dde07f473a4a7208b209b4c8b7251d90 diff --cc drivers/acpi/processor_idle.c index 8206fc1,59fac8d..835595a --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@@ -39,18 -39,15 +39,26 @@@ #include #include /* need_resched() */ #include +#include + +/* + * Include the apic definitions for x86 to have the APIC timer related defines + * available also for UP (on SMP it gets magically included via linux/smp.h). + * asm/acpi.h is not an option, as it would require more include magic. Also + * creating an empty asm-ia64/apic.h would just trade pest vs. cholera. + */ +#ifdef CONFIG_X86 +#include +#endif + /* + * Include the apic definitions for x86 to have the APIC timer related defines + * available also for UP (on SMP it gets magically included via linux/smp.h). + */ + #ifdef CONFIG_X86 + #include + #endif + #include #include diff --cc drivers/usb/misc/appledisplay.c index 32f0e3a,31ab83c..e573c8b --- a/drivers/usb/misc/appledisplay.c +++ b/drivers/usb/misc/appledisplay.c @@@ -281,8 -281,8 +281,8 @@@ static int appledisplay_probe(struct us /* Register backlight device */ snprintf(bl_name, sizeof(bl_name), "appledisplay%d", atomic_inc_return(&count_displays) - 1); - pdata->bd = backlight_device_register(bl_name, NULL, - pdata, &appledisplay_bl_data); - pdata->bd = backlight_device_register(bl_name, NULL, pdata ++ pdata->bd = backlight_device_register(bl_name, NULL, pdata, + &appledisplay_bl_data); if (IS_ERR(pdata->bd)) { err("appledisplay: Backlight registration failed"); goto error;