This allows this driver to build on 2.6.38. Cheers.
diff -ru ess_2.6-v0.6/linmodem-2.6.c ess_2.6-v0.6-2.6.38/linmodem-2.6.c --- ess_2.6-v0.6/linmodem-2.6.c 2010-04-26 21:32:32.000000000 -0600 +++ ess_2.6-v0.6-2.6.38/linmodem-2.6.c 2011-09-14 18:31:29.000000000 -0600 @@ -34,6 +34,7 @@ #include <linux/tty_flip.h> #include <linux/serial_reg.h> #include <linux/serial.h> +#include <linux/slab.h> #include "linmodem-2.6.h" @@ -77,7 +78,7 @@ -static DECLARE_MUTEX(linmodem_sem); +static DEFINE_SEMAPHORE(linmodem_sem); struct linmodem_port_list { struct list_head list; @@ -1191,7 +1192,7 @@ * 16x50 serial ports to be configured at run-time, to support PCMCIA * modems and PCI multiport cards. */ -static DECLARE_MUTEX(serial_sem); +static DEFINE_SEMAPHORE(serial_sem);