Skip to contentSkip to conversation

cpufreq/gx: Fix the compile error

PATCH In review Alan Cox 3 participants 3 messages Jan 30, 2012 CPU frequency scaling framework

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 cpufreq/gx: Fix the compile error

From: Alan Cox <[email protected]>

Someone forgot to test this one it seems.

---

 drivers/cpufreq/gx-suspmod.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/cpufreq/gx-suspmod.c +1 -1
index 5a06c0b..456bee0 100644
@@ -172,7 +172,7 @@ static struct pci_device_id gx_chipset_tbl[] __initdata = {
 	{ PCI_VDEVICE(CYRIX, PCI_DEVICE_ID_CYRIX_5510), },
 	{ 0, },
 };
-MODULE_DEVICE_TABLE(gx_chipset_tbl);
+MODULE_DEVICE_TABLE(pci, gx_chipset_tbl);
 
 static void gx_write_byte(int reg, int value)
 {
#1 lore raw
Quoted 3 lines · Alan Cox

From: Alan Cox<[email protected]>

Someone forgot to test this one it seems.

Sorry about that
Thanks. Greg can you please add it to the cpuid probe patchkit?

-Andi

Quoted 21 lines

---

  drivers/cpufreq/gx-suspmod.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
drivers/cpufreq/gx-suspmod.c +1 -1
index 5a06c0b..456bee0 100644
@@ -172,7 +172,7 @@ static struct pci_device_id gx_chipset_tbl[] __initdata = {
  	{ PCI_VDEVICE(CYRIX, PCI_DEVICE_ID_CYRIX_5510), },
  	{ 0, },
  };
-MODULE_DEVICE_TABLE(gx_chipset_tbl);
+MODULE_DEVICE_TABLE(pci, gx_chipset_tbl);
 
  static void gx_write_byte(int reg, int value)
  {
#2 lore raw
Quoted 7 lines · Andi Kleen
Quoted 3 lines · Alan Cox

From: Alan Cox<[email protected]>

Someone forgot to test this one it seems.

Sorry about that
Thanks. Greg can you please add it to the cpuid probe patchkit?

Will do, thanks for pointing it out to me, I would have missed it.

greg k-h