[2.6 patch] drivers/cpufreq/cpufreq_ondemand.c: make cpufreq_gov_dbs static

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

  • Next message: Jesper Juhl: "[PATCH] resource release cleanup in net/"
    Date:	Sat, 30 Apr 2005 22:07:46 +0200
    To: Andrew Morton <akpm@osdl.org>
    
    

    This patch makes a needlessly global and EXPORT_SYMBOL'ed struct static.

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

    ---
    This patch was already sent on:
    - 17 Apr 2005
    --- linux-2.6.12-rc2-mm3-full/drivers/cpufreq/cpufreq_ondemand.c.old	2005-04-17 18:32:10.000000000 +0200
    +++ linux-2.6.12-rc2-mm3-full/drivers/cpufreq/cpufreq_ondemand.c	2005-04-17 18:32:19.000000000 +0200
    @@ -459,12 +459,11 @@
     	return 0;
     }
     
    -struct cpufreq_governor cpufreq_gov_dbs = {
    +static struct cpufreq_governor cpufreq_gov_dbs = {
     	.name		= "ondemand",
     	.governor	= cpufreq_governor_dbs,
     	.owner		= THIS_MODULE,
     };
    -EXPORT_SYMBOL(cpufreq_gov_dbs);
     
     static int __init cpufreq_gov_dbs_init(void)
     {
    -
    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: Jesper Juhl: "[PATCH] resource release cleanup in net/"

    Relevant Pages