--- ../../alsa-kernel/drivers/pcsp/pcsp.c	2009-11-04 07:58:49.000000000 +0100
+++ pcsp.c	2009-12-15 22:17:50.000000000 +0100
@@ -1,3 +1,4 @@
+#include "adriver.h"
 /*
  * PC-Speaker driver for Linux
  *
@@ -102,6 +103,9 @@
 		return -EINVAL;
 
 	hrtimer_init(&pcsp_chip.timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29)
+	pcsp_chip.timer.cb_mode = HRTIMER_CB_IRQSAFE_UNLOCKED;
+#endif
 	pcsp_chip.timer.function = pcsp_do_timer;
 
 	err = snd_card_create(index, id, THIS_MODULE, 0, &card);
