[-mm patch] drivers/scsi/ch.c: make a struct static

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

  • Next message: Andrew Theurer: "Re: [PATCH 1/13] timestamp fixes"
    Date:	Mon, 28 Feb 2005 19:07:33 +0100
    To: Andrew Morton <akpm@osdl.org>, Gerd Knorr <kraxel@bytesex.org>
    
    

    This patch makes a needlessly global struct static.

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

    --- linux-2.6.11-rc4-mm1-full/drivers/scsi/ch.c.old 2005-02-28 18:14:48.000000000 +0100
    +++ linux-2.6.11-rc4-mm1-full/drivers/scsi/ch.c 2005-02-28 18:14:55.000000000 +0100
    @@ -118,7 +118,7 @@
     static spinlock_t ch_devlist_lock = SPIN_LOCK_UNLOCKED;
     static int ch_devcount;
     
    -struct scsi_driver ch_template =
    +static struct scsi_driver ch_template =
     {
             .owner = THIS_MODULE,
             .gendrv = {

    -
    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: Andrew Theurer: "Re: [PATCH 1/13] timestamp fixes"

    Relevant Pages