Commit c48a2916 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (i5k_amb) Fix compile warning

This patch fixes the following compile warning.

drivers/hwmon/i5k_amb.c:500: warning: 'i5k_amb_ids' defined but not used

The warning is seen if the driver is built into the kernel (not as module).
Signed-off-by: default avatarGuenter Roeck <>
Acked-by: default avatarJean Delvare <>
parent 3561d43f
......@@ -497,12 +497,14 @@ static unsigned long chipset_ids[] = {
#ifdef MODULE
static struct pci_device_id i5k_amb_ids[] __devinitdata = {
{ 0, }
MODULE_DEVICE_TABLE(pci, i5k_amb_ids);
static int __devinit i5k_amb_probe(struct platform_device *pdev)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment