diff options
Diffstat (limited to 'drivers/hwmon/i5k_amb.c')
-rw-r--r-- | drivers/hwmon/i5k_amb.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/hwmon/i5k_amb.c b/drivers/hwmon/i5k_amb.c index 46141abaafba..b87c2ccee06b 100644 --- a/drivers/hwmon/i5k_amb.c +++ b/drivers/hwmon/i5k_amb.c | |||
@@ -260,7 +260,7 @@ static ssize_t show_label(struct device *dev, | |||
260 | attr->index & DIMM_MASK); | 260 | attr->index & DIMM_MASK); |
261 | } | 261 | } |
262 | 262 | ||
263 | static int __devinit i5k_amb_hwmon_init(struct platform_device *pdev) | 263 | static int i5k_amb_hwmon_init(struct platform_device *pdev) |
264 | { | 264 | { |
265 | int i, j, k, d = 0; | 265 | int i, j, k, d = 0; |
266 | u16 c; | 266 | u16 c; |
@@ -406,7 +406,7 @@ exit_remove: | |||
406 | return res; | 406 | return res; |
407 | } | 407 | } |
408 | 408 | ||
409 | static int __devinit i5k_amb_add(void) | 409 | static int i5k_amb_add(void) |
410 | { | 410 | { |
411 | int res = -ENODEV; | 411 | int res = -ENODEV; |
412 | 412 | ||
@@ -425,7 +425,7 @@ err: | |||
425 | return res; | 425 | return res; |
426 | } | 426 | } |
427 | 427 | ||
428 | static int __devinit i5k_find_amb_registers(struct i5k_amb_data *data, | 428 | static int i5k_find_amb_registers(struct i5k_amb_data *data, |
429 | unsigned long devid) | 429 | unsigned long devid) |
430 | { | 430 | { |
431 | struct pci_dev *pcidev; | 431 | struct pci_dev *pcidev; |
@@ -459,7 +459,7 @@ out: | |||
459 | return res; | 459 | return res; |
460 | } | 460 | } |
461 | 461 | ||
462 | static int __devinit i5k_channel_probe(u16 *amb_present, unsigned long dev_id) | 462 | static int i5k_channel_probe(u16 *amb_present, unsigned long dev_id) |
463 | { | 463 | { |
464 | struct pci_dev *pcidev; | 464 | struct pci_dev *pcidev; |
465 | u16 val16; | 465 | u16 val16; |
@@ -488,14 +488,14 @@ out: | |||
488 | static struct { | 488 | static struct { |
489 | unsigned long err; | 489 | unsigned long err; |
490 | unsigned long fbd0; | 490 | unsigned long fbd0; |
491 | } chipset_ids[] __devinitdata = { | 491 | } chipset_ids[] = { |
492 | { PCI_DEVICE_ID_INTEL_5000_ERR, PCI_DEVICE_ID_INTEL_5000_FBD0 }, | 492 | { PCI_DEVICE_ID_INTEL_5000_ERR, PCI_DEVICE_ID_INTEL_5000_FBD0 }, |
493 | { PCI_DEVICE_ID_INTEL_5400_ERR, PCI_DEVICE_ID_INTEL_5400_FBD0 }, | 493 | { PCI_DEVICE_ID_INTEL_5400_ERR, PCI_DEVICE_ID_INTEL_5400_FBD0 }, |
494 | { 0, 0 } | 494 | { 0, 0 } |
495 | }; | 495 | }; |
496 | 496 | ||
497 | #ifdef MODULE | 497 | #ifdef MODULE |
498 | static struct pci_device_id i5k_amb_ids[] __devinitdata = { | 498 | static struct pci_device_id i5k_amb_ids[] = { |
499 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5000_ERR) }, | 499 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5000_ERR) }, |
500 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5400_ERR) }, | 500 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5400_ERR) }, |
501 | { 0, } | 501 | { 0, } |
@@ -503,7 +503,7 @@ static struct pci_device_id i5k_amb_ids[] __devinitdata = { | |||
503 | MODULE_DEVICE_TABLE(pci, i5k_amb_ids); | 503 | MODULE_DEVICE_TABLE(pci, i5k_amb_ids); |
504 | #endif | 504 | #endif |
505 | 505 | ||
506 | static int __devinit i5k_amb_probe(struct platform_device *pdev) | 506 | static int i5k_amb_probe(struct platform_device *pdev) |
507 | { | 507 | { |
508 | struct i5k_amb_data *data; | 508 | struct i5k_amb_data *data; |
509 | struct resource *reso; | 509 | struct resource *reso; |
@@ -564,7 +564,7 @@ err: | |||
564 | return res; | 564 | return res; |
565 | } | 565 | } |
566 | 566 | ||
567 | static int __devexit i5k_amb_remove(struct platform_device *pdev) | 567 | static int i5k_amb_remove(struct platform_device *pdev) |
568 | { | 568 | { |
569 | int i; | 569 | int i; |
570 | struct i5k_amb_data *data = platform_get_drvdata(pdev); | 570 | struct i5k_amb_data *data = platform_get_drvdata(pdev); |
@@ -587,7 +587,7 @@ static struct platform_driver i5k_amb_driver = { | |||
587 | .name = DRVNAME, | 587 | .name = DRVNAME, |
588 | }, | 588 | }, |
589 | .probe = i5k_amb_probe, | 589 | .probe = i5k_amb_probe, |
590 | .remove = __devexit_p(i5k_amb_remove), | 590 | .remove = i5k_amb_remove, |
591 | }; | 591 | }; |
592 | 592 | ||
593 | static int __init i5k_amb_init(void) | 593 | static int __init i5k_amb_init(void) |