[patch] 2.6.0-test11-mm1: isdn/eicon/eicon_mod.c doesn't compile

From: Adrian Bunk (bunk_at_fs.tum.de)
Date: 12/19/03

  • Next message: Randy.Dunlap: "Re: ieee1394 subsystem causes segfaults"
    Date:	Fri, 19 Dec 2003 17:58:38 +0100
    To: Andrew Morton <akpm@osdl.org>
    
    

    Hi Andrew,

    I got the following compile error in 2.6.0-test11-mm1:

    <-- snip -->

    ...
      CC [M] drivers/isdn/eicon/eicon_mod.o
    drivers/isdn/eicon/eicon_mod.c: In function `eicon_exit':
    drivers/isdn/eicon/eicon_mod.c:1362: warning: implicit declaration of
    function `mca_mark_as_unused'
    drivers/isdn/eicon/eicon_mod.c: In function `eicon_mca_find_card':
    drivers/isdn/eicon/eicon_mod.c:1500: warning: implicit declaration of
    function `mca_find_unused_adapter'
    drivers/isdn/eicon/eicon_mod.c:1502: `MCA_NOTFOUND' undeclared (first
    use in this function)
    drivers/isdn/eicon/eicon_mod.c:1502: (Each undeclared identifier is
    reported only once
    drivers/isdn/eicon/eicon_mod.c:1502: for each function it appears in.)
    drivers/isdn/eicon/eicon_mod.c: In function `eicon_mca_probe':
    drivers/isdn/eicon/eicon_mod.c:1558: warning: implicit declaration of
    function `mca_read_stored_pos'
    drivers/isdn/eicon/eicon_mod.c:1619: warning: implicit declaration of
    function `mca_set_adapter_name'
    drivers/isdn/eicon/eicon_mod.c:1622: warning: implicit declaration of
    function `mca_mark_as_used'
    make[3]: *** [drivers/isdn/eicon/eicon_mod.o] Error 1

    <-- snip -->

    The fix is simple:

    --- linux-2.6.0-test11-mm1-modular-no-smp/drivers/isdn/eicon/eicon_mod.c.old 2003-12-19 17:26:56.000000000 +0100
    +++ linux-2.6.0-test11-mm1-modular-no-smp/drivers/isdn/eicon/eicon_mod.c 2003-12-19 17:28:29.000000000 +0100
    @@ -29,6 +29,7 @@
     #include <linux/init.h>
     #ifdef CONFIG_MCA
     #include <linux/mca.h>
    +#include <linux/mca-legacy.h>
     #endif /* CONFIG_MCA */
     
     #include "eicon.h"

    Please apply
    Adrian

    -- 
           "Is there not promise of rain?" Ling Tan asked suddenly out
            of the darkness. There had been need of rain for many days.
           "Only a promise," Lao Er said.
                                           Pearl S. Buck - Dragon Seed
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Randy.Dunlap: "Re: ieee1394 subsystem causes segfaults"

    Relevant Pages

    • 2.6: SCSI advansys.c doesnt compilefor !PCI
      ... I got the following compile error in 2.6.6-mm1 (but it doesn't seem to ... There had been need of rain for many days. ... "Only a promise," Lao Er said. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • 2.6.4-mjb1: ivtv-driver compile error
      ... ported to 2.6 by Steven Fuerst ... I got the following compile error, it might be caused by the fact that ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.13-rc2-mm2
      ... Although it's not mentioned in the changelog, it seems the MTD GIT tree ... I noticed this because a compile error that was fixed in -mm1 is back. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] update Dag Brattlis email address
      ... > This patch is huge. ... There had been need of rain for many days. ... Pearl S. Buck - Dragon Seed ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • 2.6.7-mm2: compile error SCHED_SMT + NUMA + gcc 2.95
      ... I'm getting the following compile error in 2.6.7-mm2 with SCHED_SMT=y ... and NUMA=y when using gcc 2.95: ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)