lkml.org 
[lkml]   [2012]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH -next] cpufreq: fix gx-suspmod.c build
    From: Randy Dunlap <rdunlap@xenotime.net>

    Fix build error & warnings:

    drivers/cpufreq/gx-suspmod.c:175:35: error: macro "MODULE_DEVICE_TABLE" requires 2 arguments, but only 1 given
    drivers/cpufreq/gx-suspmod.c:175:1: warning: data definition has no type or storage class
    drivers/cpufreq/gx-suspmod.c:175:1: warning: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE'

    Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
    Cc: Hiroshi Miura <miura@da-cha.org>
    Cc: Dave Jones <davej@redhat.com>
    Cc: cpufreq@vger.kernel.org
    ---
    drivers/cpufreq/gx-suspmod.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- linux-next-20120130.orig/drivers/cpufreq/gx-suspmod.c
    +++ linux-next-20120130/drivers/cpufreq/gx-suspmod.c
    @@ -172,7 +172,7 @@ static struct pci_device_id gx_chipset_t
    { PCI_VDEVICE(CYRIX, PCI_DEVICE_ID_CYRIX_5510), },
    { 0, },
    };
    -MODULE_DEVICE_TABLE(gx_chipset_tbl);
    +MODULE_DEVICE_TABLE(x86cpu, gx_chipset_tbl);

    static void gx_write_byte(int reg, int value)
    {

    \
     
     \ /
      Last update: 2012-01-30 19:45    [W:0.023 / U:30.668 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site