From: Len Brown Date: Fri, 16 Feb 2007 23:52:41 +0000 (-0500) Subject: Pull misc-for-upstream into release branch X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=81450b73dde07f473a4a7208b209b4c8b7251d90;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 8206fc1ecc58,59fac8d79412..835595ae06b3 --- 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 32f0e3a5b022,31ab83cc95d9..e573c8ba9785 --- 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;