aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-12-18 12:58:09 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-18 12:58:09 -0500
commit16e024f30ce96ef5fa651e2914e19d175a924cab (patch)
treed68106151a0b36e22625d7af7b23081a48c92e87 /drivers/macintosh
parentc36e0501ee91d7616a188efbf9714b1fce150032 (diff)
parent376bddd34433065aeb9b9a140870537feecf90ef (diff)
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
Pull powerpc update from Benjamin Herrenschmidt: "The main highlight is probably some base POWER8 support. There's more to come such as transactional memory support but that will wait for the next one. Overall it's pretty quiet, or rather I've been pretty poor at picking things up from patchwork and reviewing them this time around and Kumar no better on the FSL side it seems..." * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (73 commits) powerpc+of: Rename and fix OF reconfig notifier error inject module powerpc: mpc5200: Add a3m071 board support powerpc/512x: don't compile any platform DIU code if the DIU is not enabled powerpc/mpc52xx: use module_platform_driver macro powerpc+of: Export of_reconfig_notifier_[register,unregister] powerpc/dma/raidengine: add raidengine device powerpc/iommu/fsl: Add PAMU bypass enable register to ccsr_guts struct powerpc/mpc85xx: Change spin table to cached memory powerpc/fsl-pci: Add PCI controller ATMU PM support powerpc/86xx: fsl_pcibios_fixup_bus requires CONFIG_PCI drivers/virt: the Freescale hypervisor driver doesn't need to check MSR[GS] powerpc/85xx: p1022ds: Use NULL instead of 0 for pointers powerpc: Disable relocation on exceptions when kexecing powerpc: Enable relocation on during exceptions at boot powerpc: Move get_longbusy_msecs into hvcall.h and remove duplicate function powerpc: Add wrappers to enable/disable relocation on exceptions powerpc: Add set_mode hcall powerpc: Setup relocation on exceptions for bare metal systems powerpc: Move initial mfspr LPCR out of __init_LPCR powerpc: Add relocation on exception vector handlers ...
Diffstat (limited to 'drivers/macintosh')
-rw-r--r--drivers/macintosh/smu.c2
-rw-r--r--drivers/macintosh/windfarm_fcu_controls.c14
-rw-r--r--drivers/macintosh/windfarm_lm75_sensor.c14
-rw-r--r--drivers/macintosh/windfarm_max6690_sensor.c13
-rw-r--r--drivers/macintosh/windfarm_smu_sat.c13
5 files changed, 5 insertions, 51 deletions
diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c
index 196368009001..9c6b96414862 100644
--- a/drivers/macintosh/smu.c
+++ b/drivers/macintosh/smu.c
@@ -997,7 +997,7 @@ static struct smu_sdbp_header *smu_create_sdb_partition(int id)
997 "%02x !\n", id, hdr->id); 997 "%02x !\n", id, hdr->id);
998 goto failure; 998 goto failure;
999 } 999 }
1000 if (prom_add_property(smu->of_node, prop)) { 1000 if (of_add_property(smu->of_node, prop)) {
1001 printk(KERN_DEBUG "SMU: Failed creating sdb-partition-%02x " 1001 printk(KERN_DEBUG "SMU: Failed creating sdb-partition-%02x "
1002 "property !\n", id); 1002 "property !\n", id);
1003 goto failure; 1003 goto failure;
diff --git a/drivers/macintosh/windfarm_fcu_controls.c b/drivers/macintosh/windfarm_fcu_controls.c
index b3411edb324b..fd6ed15a979d 100644
--- a/drivers/macintosh/windfarm_fcu_controls.c
+++ b/drivers/macintosh/windfarm_fcu_controls.c
@@ -593,19 +593,7 @@ static struct i2c_driver wf_fcu_driver = {
593 .id_table = wf_fcu_id, 593 .id_table = wf_fcu_id,
594}; 594};
595 595
596static int __init wf_fcu_init(void) 596module_i2c_driver(wf_fcu_driver);
597{
598 return i2c_add_driver(&wf_fcu_driver);
599}
600
601static void __exit wf_fcu_exit(void)
602{
603 i2c_del_driver(&wf_fcu_driver);
604}
605
606
607module_init(wf_fcu_init);
608module_exit(wf_fcu_exit);
609 597
610MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>"); 598MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>");
611MODULE_DESCRIPTION("FCU control objects for PowerMacs thermal control"); 599MODULE_DESCRIPTION("FCU control objects for PowerMacs thermal control");
diff --git a/drivers/macintosh/windfarm_lm75_sensor.c b/drivers/macintosh/windfarm_lm75_sensor.c
index b0c2d3695b34..9ef32b3df91f 100644
--- a/drivers/macintosh/windfarm_lm75_sensor.c
+++ b/drivers/macintosh/windfarm_lm75_sensor.c
@@ -174,19 +174,7 @@ static struct i2c_driver wf_lm75_driver = {
174 .id_table = wf_lm75_id, 174 .id_table = wf_lm75_id,
175}; 175};
176 176
177static int __init wf_lm75_sensor_init(void) 177module_i2c_driver(wf_lm75_driver);
178{
179 return i2c_add_driver(&wf_lm75_driver);
180}
181
182static void __exit wf_lm75_sensor_exit(void)
183{
184 i2c_del_driver(&wf_lm75_driver);
185}
186
187
188module_init(wf_lm75_sensor_init);
189module_exit(wf_lm75_sensor_exit);
190 178
191MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>"); 179MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>");
192MODULE_DESCRIPTION("LM75 sensor objects for PowerMacs thermal control"); 180MODULE_DESCRIPTION("LM75 sensor objects for PowerMacs thermal control");
diff --git a/drivers/macintosh/windfarm_max6690_sensor.c b/drivers/macintosh/windfarm_max6690_sensor.c
index 371b058d2f7d..945a25b2f31e 100644
--- a/drivers/macintosh/windfarm_max6690_sensor.c
+++ b/drivers/macintosh/windfarm_max6690_sensor.c
@@ -130,18 +130,7 @@ static struct i2c_driver wf_max6690_driver = {
130 .id_table = wf_max6690_id, 130 .id_table = wf_max6690_id,
131}; 131};
132 132
133static int __init wf_max6690_sensor_init(void) 133module_i2c_driver(wf_max6690_driver);
134{
135 return i2c_add_driver(&wf_max6690_driver);
136}
137
138static void __exit wf_max6690_sensor_exit(void)
139{
140 i2c_del_driver(&wf_max6690_driver);
141}
142
143module_init(wf_max6690_sensor_init);
144module_exit(wf_max6690_sensor_exit);
145 134
146MODULE_AUTHOR("Paul Mackerras <paulus@samba.org>"); 135MODULE_AUTHOR("Paul Mackerras <paulus@samba.org>");
147MODULE_DESCRIPTION("MAX6690 sensor objects for PowerMac thermal control"); 136MODULE_DESCRIPTION("MAX6690 sensor objects for PowerMac thermal control");
diff --git a/drivers/macintosh/windfarm_smu_sat.c b/drivers/macintosh/windfarm_smu_sat.c
index 426e810233d7..d87f5ee04ca9 100644
--- a/drivers/macintosh/windfarm_smu_sat.c
+++ b/drivers/macintosh/windfarm_smu_sat.c
@@ -364,18 +364,7 @@ static struct i2c_driver wf_sat_driver = {
364 .id_table = wf_sat_id, 364 .id_table = wf_sat_id,
365}; 365};
366 366
367static int __init sat_sensors_init(void) 367module_i2c_driver(wf_sat_driver);
368{
369 return i2c_add_driver(&wf_sat_driver);
370}
371
372static void __exit sat_sensors_exit(void)
373{
374 i2c_del_driver(&wf_sat_driver);
375}
376
377module_init(sat_sensors_init);
378module_exit(sat_sensors_exit);
379 368
380MODULE_AUTHOR("Paul Mackerras <paulus@samba.org>"); 369MODULE_AUTHOR("Paul Mackerras <paulus@samba.org>");
381MODULE_DESCRIPTION("SMU satellite sensors for PowerMac thermal control"); 370MODULE_DESCRIPTION("SMU satellite sensors for PowerMac thermal control");