[lkml]   [2009]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[patch 104/108] serial: bfin_5xx: fix building as module when early printk is enabled
    2.6.30-stable review patch.  If anyone has any objections, please let us know.


    From: Mike Frysinger <>

    commit 607c268ef9a4675287e77f732071e426e62c2d86 upstream.

    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

    Signed-off-by: Mike Frysinger <>
    Signed-off-by: Alan Cox <>
    Signed-off-by: Linus Torvalds <>
    Signed-off-by: Greg Kroah-Hartman <>

    drivers/serial/bfin_5xx.c | 4 ++++
    1 file changed, 4 insertions(+)

    --- a/drivers/serial/bfin_5xx.c
    +++ b/drivers/serial/bfin_5xx.c
    @@ -38,6 +38,10 @@
    #include <asm/cacheflush.h>

    /* UART name and device definitions */
    #define BFIN_SERIAL_NAME "ttyBF"
    #define BFIN_SERIAL_MAJOR 204

     \ /
      Last update: 2009-07-01 03:33    [W:0.019 / U:29.172 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site