[Patch 2.6] PCMCIA ds - Exclude uneeded code when ! CONFIG_PROC_FS (fwd)

From: Adrian Bunk (bunk_at_stusta.de)
Date: 10/22/04

  • Next message: Linus Torvalds: "Re: Make drivers/char/mem.c use remap_pfn_range()"
    Date:	Fri, 22 Oct 2004 16:18:15 +0200
    To: Andrew Morton <akpm@osdl.org>
    
    

    This trivial patch by Michal Rokos <michal@rokos.info> forwarded below
    still applies against 2.6.9-mm1.

    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    ----- Forwarded message from Michal Rokos <michal@rokos.info> -----

    Date: Fri, 15 Oct 2004 14:34:58 +0200
    From: Michal Rokos <michal@rokos.info>
    To: linux-kernel@vger.kernel.org
    Subject: [Patch 2.6] PCMCIA ds - Exclude uneeded code when ! CONFIG_PROC_FS

    Hello,

    just a oneliner to remove unneeded definition that is done below in the
    code anyway.

    Michal

    # This is a BitKeeper generated diff -Nru style patch.
    #
    # ChangeSet
    # 2004/10/15 13:28:23+02:00 michal@nb-rokos.nx.cz
    # proc_pccard is declared below once again, so exclude it here and let
    it be in ifdef CONFIG_PROC_FS block.
    #
    # drivers/pcmcia/ds.c
    # 2004/10/15 13:28:02+02:00 michal@nb-rokos.nx.cz +0 -2
    # proc_pccard is declared below once again, so exclude it here and let
    it be in ifdef CONFIG_PROC_FS block.
    #
    diff -Nru a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
    --- a/drivers/pcmcia/ds.c 2004-10-15 14:26:19 +02:00
    +++ b/drivers/pcmcia/ds.c 2004-10-15 14:26:19 +02:00
    @@ -134,8 +134,6 @@
     
     static int major_dev = -1;
     
    -static struct proc_dir_entry *proc_pccard;
    -
     /*====================================================================*/
     
     /* code which was in cs.c before */

    -
    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/

    ----- End forwarded message -----

    -
    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: Linus Torvalds: "Re: Make drivers/char/mem.c use remap_pfn_range()"

    Relevant Pages

    • Re: [parisc-linux] Re: [PATCH 3/9] mm: parisc pte atomicity
      ... using your own tmpalias area sounds much better than getting ... I've simply not wrapped my head around the races, ... it looks like we agree that my patch is necessary and valid as is; ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: keyboard - was: Re: Linux 2.6.0-test4
      ... >> I was able to get the key unstuck by switching back and forth between ... I rebuild my kernel including your patch; ... I'll get back to you once I verify that the problem doesn't occur ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.0-test8/test9 io scheduler needs tuning?
      ... interactivity with regard to desktop use. ... Going to improve the time info output of the ddd loops to get better data and ... with the patch the hang reported earlier was not encountered again so ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [CFT][PATCH] 2.6.4-rc1 remove x86 boot page tables
      ... > For VISWS I think you actually need to turn paging off explicitly. ... The patch will need a few tweaks but it should be fairly straight forward. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] clarify message and give support contact for non-GPL modules
      ... The author of the second module ... So here is another attempt at the patch. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)