[2.6 patch] drivers/media/common/saa7146_fops.c: make a function static

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

  • Next message: Andrew Morton: "Re: Bug in 2.6.11.11 - udp_poll(), fragments + CONFIG_HIGHMEM"
    Date:	Mon, 30 May 2005 22:56:38 +0200
    To: Andrew Morton <akpm@osdl.org>
    
    

    This patch makes a needlessly global function static.

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

    ---
    This patch was already sent on:
    - 2 May 2005
    - 19 Apr 2005
    --- linux-2.6.12-rc2-mm3-full/drivers/media/common/saa7146_fops.c.old	2005-04-19 01:21:37.000000000 +0200
    +++ linux-2.6.12-rc2-mm3-full/drivers/media/common/saa7146_fops.c	2005-04-19 01:21:50.000000000 +0200
    @@ -403,7 +403,7 @@
     	.llseek		= no_llseek,
     };
     
    -void vv_callback(struct saa7146_dev *dev, unsigned long status)
    +static void vv_callback(struct saa7146_dev *dev, unsigned long status)
     {
     	u32 isr = status;
     	
    -
    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 Morton: "Re: Bug in 2.6.11.11 - udp_poll(), fragments + CONFIG_HIGHMEM"

    Relevant Pages

    • Re: [CFT] updated gcc-3.4.0 fixes patch for 2.4.27-pre1
      ... I propose fixing problems that will appear with gcc 3.5, ... Here is a patch for the few places I got hit at. ... pci_set_drvdata(pci_dev, dev); ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [2.6 patch] sound/: possible cleanups
      ... This patch contains the following possible cleanups: ... +static void snd_generic_device_release(struct device *dev) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.7-rc1 breaks forcedeth
      ... try the attached patch. ... +static void nv_reset(struct net_device *dev) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [2.6 patch] drivers/ide/: possible cleanups
      ... This patch contains the following possible cleanups: ... make a needlessly global function static ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: tulip (pnic) errors in 2.6.5-rc1
      ... | I split the bk2->bk3 patch in pieces, and traced the bug to the ... | dev is static and its ->priv actually points to kmalloc:d space. ... | Reverting the patch below solves the problem. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)