diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-18 12:58:09 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-18 12:58:09 -0500 |
commit | 16e024f30ce96ef5fa651e2914e19d175a924cab (patch) | |
tree | d68106151a0b36e22625d7af7b23081a48c92e87 /drivers/macintosh | |
parent | c36e0501ee91d7616a188efbf9714b1fce150032 (diff) | |
parent | 376bddd34433065aeb9b9a140870537feecf90ef (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.c | 2 | ||||
-rw-r--r-- | drivers/macintosh/windfarm_fcu_controls.c | 14 | ||||
-rw-r--r-- | drivers/macintosh/windfarm_lm75_sensor.c | 14 | ||||
-rw-r--r-- | drivers/macintosh/windfarm_max6690_sensor.c | 13 | ||||
-rw-r--r-- | drivers/macintosh/windfarm_smu_sat.c | 13 |
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 | ||
596 | static int __init wf_fcu_init(void) | 596 | module_i2c_driver(wf_fcu_driver); |
597 | { | ||
598 | return i2c_add_driver(&wf_fcu_driver); | ||
599 | } | ||
600 | |||
601 | static void __exit wf_fcu_exit(void) | ||
602 | { | ||
603 | i2c_del_driver(&wf_fcu_driver); | ||
604 | } | ||
605 | |||
606 | |||
607 | module_init(wf_fcu_init); | ||
608 | module_exit(wf_fcu_exit); | ||
609 | 597 | ||
610 | MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>"); | 598 | MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>"); |
611 | MODULE_DESCRIPTION("FCU control objects for PowerMacs thermal control"); | 599 | MODULE_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 | ||
177 | static int __init wf_lm75_sensor_init(void) | 177 | module_i2c_driver(wf_lm75_driver); |
178 | { | ||
179 | return i2c_add_driver(&wf_lm75_driver); | ||
180 | } | ||
181 | |||
182 | static void __exit wf_lm75_sensor_exit(void) | ||
183 | { | ||
184 | i2c_del_driver(&wf_lm75_driver); | ||
185 | } | ||
186 | |||
187 | |||
188 | module_init(wf_lm75_sensor_init); | ||
189 | module_exit(wf_lm75_sensor_exit); | ||
190 | 178 | ||
191 | MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>"); | 179 | MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>"); |
192 | MODULE_DESCRIPTION("LM75 sensor objects for PowerMacs thermal control"); | 180 | MODULE_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 | ||
133 | static int __init wf_max6690_sensor_init(void) | 133 | module_i2c_driver(wf_max6690_driver); |
134 | { | ||
135 | return i2c_add_driver(&wf_max6690_driver); | ||
136 | } | ||
137 | |||
138 | static void __exit wf_max6690_sensor_exit(void) | ||
139 | { | ||
140 | i2c_del_driver(&wf_max6690_driver); | ||
141 | } | ||
142 | |||
143 | module_init(wf_max6690_sensor_init); | ||
144 | module_exit(wf_max6690_sensor_exit); | ||
145 | 134 | ||
146 | MODULE_AUTHOR("Paul Mackerras <paulus@samba.org>"); | 135 | MODULE_AUTHOR("Paul Mackerras <paulus@samba.org>"); |
147 | MODULE_DESCRIPTION("MAX6690 sensor objects for PowerMac thermal control"); | 136 | MODULE_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 | ||
367 | static int __init sat_sensors_init(void) | 367 | module_i2c_driver(wf_sat_driver); |
368 | { | ||
369 | return i2c_add_driver(&wf_sat_driver); | ||
370 | } | ||
371 | |||
372 | static void __exit sat_sensors_exit(void) | ||
373 | { | ||
374 | i2c_del_driver(&wf_sat_driver); | ||
375 | } | ||
376 | |||
377 | module_init(sat_sensors_init); | ||
378 | module_exit(sat_sensors_exit); | ||
379 | 368 | ||
380 | MODULE_AUTHOR("Paul Mackerras <paulus@samba.org>"); | 369 | MODULE_AUTHOR("Paul Mackerras <paulus@samba.org>"); |
381 | MODULE_DESCRIPTION("SMU satellite sensors for PowerMac thermal control"); | 370 | MODULE_DESCRIPTION("SMU satellite sensors for PowerMac thermal control"); |