On Sun, 11 Apr 2010 20:04:46 -0700 Dmitry Torokhov wrote: > Hi Javier, > > On Sun, Apr 11, 2010 at 11:29:02AM -0400, Javier Martinez Canillas wrote: > > usb/serial/generic.c gives me a compile error when CONFIG_MAGIC_SYSRQ is > > not defined. > > > > The problem is that usb_serial_handle_sysrq_char() calls handle_sysrq() > > that only is defined if CONFIG_MAGIC_SYSRQ is defined. > > > > This patch add an empty handle_sysrq inline function if > > CONFIG_MAGIC_SYSRQ is not defined and generic.c compiles cleanly. > > > > Thanks for the patch. I will fold it into the one where I managed to > loose the static inline if you do not mind. can we get this patch into linux-next also, please? It still fails in 2 places when MAGIC_SYSRQ is disabled. --- ~Randy -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html