serial: bfin_5xx: fix building as module when early printk is enabled
authorMike Frysinger <vapier@gentoo.org>
Thu, 6 Aug 2009 22:20:05 +0000 (15:20 -0700)
committerLive-CD User <linux@linux.site>
Sat, 19 Sep 2009 20:13:09 +0000 (13:13 -0700)
commit0271edd4b1b16f255162029359bb69c1ee4d9c3b
tree73987be86c5a38e77f092b494ae3c4590c6af7bb
parenta4304f2d5a3823deea894026ec95e43b33912357
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>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: stable <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/bfin_5xx.c