#include <linux/moduleparam.h>
  #include <linux/sched.h>      /* need_resched() */
  #include <linux/latency.h>
 +#include <linux/clockchips.h>
 +
 +/*
 + * 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 <asm/apic.h>
 +#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 <asm/apic.h>
+ #endif
+ 
  #include <asm/io.h>
  #include <asm/uaccess.h>
  
 
        /* 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;