[2.6 patch] input/gameport/cs461x.c: make 2 functions static

From: Adrian Bunk (bunk_at_stusta.de)
Date: 02/05/05

  • Next message: Adrian Bunk: "[2.6 patch] sysctl.c: make some code static"
    Date:	Sat, 5 Feb 2005 03:41:32 +0100
    To: Victor Krapivin <vik@belcaf.minsk.by>
    
    

    This patch makes two needlessly global functions static.

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

    --- linux-2.6.11-rc3-mm1-full/drivers/input/gameport/cs461x.c.old 2005-02-05 03:23:44.000000000 +0100
    +++ linux-2.6.11-rc3-mm1-full/drivers/input/gameport/cs461x.c 2005-02-05 03:24:21.000000000 +0100
    @@ -318,12 +318,12 @@
             .remove = __devexit_p(cs461x_pci_remove),
     };
     
    -int __init cs461x_init(void)
    +static int __init cs461x_init(void)
     {
             return pci_module_init(&cs461x_pci_driver);
     }
     
    -void __exit cs461x_exit(void)
    +static void __exit cs461x_exit(void)
     {
             pci_unregister_driver(&cs461x_pci_driver);
     }

    -
    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: Adrian Bunk: "[2.6 patch] sysctl.c: make some code static"

    Relevant Pages

    • Re: [PATCH] PCI fixes for 2.6.9
      ... Change for loops with list_for_each. ... static void __init ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Init single and Serial console : How to ?
      ... Attempting to kill init ... >> related to presenting the login on the serial console. ... > To unsubscribe from this list: ... > Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [opensuse] how to turn off GUI on suse linux?
      ... you want run level 3 (multi-user with networking) ... # init 3 ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ...
      (SuSE)
    • Re: Apache Server (Oracle)
      ... restart unless you installed a new kernel... ... simulate boot conditions do a init 1; ... Are there any Oracle people out there that I can help me with the ...
      (RedHat)
    • Re: parport compile error in 2.6.4-r2c (sparc64)
      ... static void parport_sunbpp_disable_irq(struct parport *p) ... static void __exit parport_sunbpp_exit ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)