]> git.baikalelectronics.ru Git - kernel.git/commit
serial: bfin_5xx: fix building as module when early printk is enabled
authorMike Frysinger <vapier@gentoo.org>
Mon, 22 Jun 2009 17:41:47 +0000 (18:41 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 22 Jun 2009 18:32:23 +0000 (11:32 -0700)
commit82ac47ee6f7e21e41d5e4381463498c00967a7fa
treea24ff05d2e61153a5122da85eabb3c6fc6007113
parent2831225f373e4b177999f1b46c5f84d67ada271a
serial: bfin_5xx: fix building as module when early printk is enabled

Since early printk only makes sense/works when the serial driver is built
into the kernel, disable the option for this driver when it is going to be
built as a module.  Otherwise we get build failures due to the ifdef
handling.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/bfin_5xx.c