* Re: [PATCH -next] cpufreq: fix gx-suspmod.c build
2012-01-30 19:40 ` [PATCH -next] cpufreq: fix gx-suspmod.c build Randy Dunlap
@ 2012-01-30 18:55 ` Dave Jones
0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2012-01-30 18:55 UTC (permalink / raw)
To: Randy Dunlap; +Cc: Stephen Rothwell, linux-next, LKML, Hiroshi Miura, cpufreq
On Mon, Jan 30, 2012 at 11:40:50AM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
>
> Fix build error & warnings:
Needs to go through Andi, or Greg, or whoever is carrying those
cpu device autoload patches now. (I lost track)
Dave
> 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)
> {
---end quoted text---
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH -next] cpufreq: fix gx-suspmod.c build
[not found] <20120130144102.8d202c7d8eccd503a86b3053@canb.auug.org.au>
@ 2012-01-30 19:40 ` Randy Dunlap
2012-01-30 18:55 ` Dave Jones
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2012-01-30 19:40 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linux-next, LKML, Hiroshi Miura, Dave Jones, cpufreq
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)
{
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-30 19:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20120130144102.8d202c7d8eccd503a86b3053@canb.auug.org.au>
2012-01-30 19:40 ` [PATCH -next] cpufreq: fix gx-suspmod.c build Randy Dunlap
2012-01-30 18:55 ` Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).