On Tue, Jun 4, 2013 at 11:33 PM, Lu Jingchang-B35083 <B35083@xxxxxxxxxxxxx> wrote: > [Lu Jingchang-B35083] > With make arch=ARM clean, I still meet the same fail problem. Does the driver support console when built as module? > If it does, I see that "uart_console_device" referenced by imx.c is not exported with EXPORT_SYMBOL in serial core. > From the patch, I think the drive support console when built as module, doesn't it? > But explanation from Arnd Bergmann [arnd@xxxxxxxx] yesterday is: "All serial port drivers do this. IIRC the reason is that the console has to be started from console_initcall(), which is not available in modules." > It seems serial driver module mode doesn't support console support, do I misunderstand? Yes, correct. Looks like your last patch is the correct approach. I will send a v3. Regards, Fabio Estevam -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html