mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: powerpc/signal32: Fix sigset_t conversion when copying to user powerpc: Fix atomic_xxx_return barrier semantics powerpc: Remove buggy 9-year-old test for binutils < 2.12.1 powerpc/book3e-64: Fix debug support for userspace powerpc: Remove extraneous CONFIG_PPC_ADV_DEBUG_REGS define powerpc: Revert show_regs() define for readability powerpc/ps3: Fix SMP lockdep boot warning powerpc/ps3: Fix lost SMP IPIs powerpc: Add hvcall.h include to book3s_hv.c powerpc/trace: Add a dummy stack frame for trace_hardirqs_off powerpc: Copy down exception vectors after feature fixups powerpc: panic if we can't instantiate RTAS powerpc/4xx: Fix typos in kexec config dependencies powerpc/fsl: MCU_MPC8349EMITX wants I2C built-in, modular won't do... powerpc/fsl_udc_core: Fix dumb typo carma-fpga: Missed switch from of_register_platform_driver() powerpc: Fix build breakage in jump_label.c
This commit is contained in:
commit
148b00b63a
27 changed files with 158 additions and 119 deletions
|
|
@ -945,8 +945,7 @@ static int fpga_of_remove(struct platform_device *op)
|
|||
/* CTL-CPLD Version Register */
|
||||
#define CTL_CPLD_VERSION 0x2000
|
||||
|
||||
static int fpga_of_probe(struct platform_device *op,
|
||||
const struct of_device_id *match)
|
||||
static int fpga_of_probe(struct platform_device *op)
|
||||
{
|
||||
struct device_node *of_node = op->dev.of_node;
|
||||
struct device *this_device;
|
||||
|
|
@ -1107,7 +1106,7 @@ static struct of_device_id fpga_of_match[] = {
|
|||
{},
|
||||
};
|
||||
|
||||
static struct of_platform_driver fpga_of_driver = {
|
||||
static struct platform_driver fpga_of_driver = {
|
||||
.probe = fpga_of_probe,
|
||||
.remove = fpga_of_remove,
|
||||
.driver = {
|
||||
|
|
@ -1124,12 +1123,12 @@ static struct of_platform_driver fpga_of_driver = {
|
|||
static int __init fpga_init(void)
|
||||
{
|
||||
led_trigger_register_simple("fpga", &ledtrig_fpga);
|
||||
return of_register_platform_driver(&fpga_of_driver);
|
||||
return platform_driver_register(&fpga_of_driver);
|
||||
}
|
||||
|
||||
static void __exit fpga_exit(void)
|
||||
{
|
||||
of_unregister_platform_driver(&fpga_of_driver);
|
||||
platform_driver_unregister(&fpga_of_driver);
|
||||
led_trigger_unregister_simple(ledtrig_fpga);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1249,8 +1249,7 @@ static bool dma_filter(struct dma_chan *chan, void *data)
|
|||
return true;
|
||||
}
|
||||
|
||||
static int data_of_probe(struct platform_device *op,
|
||||
const struct of_device_id *match)
|
||||
static int data_of_probe(struct platform_device *op)
|
||||
{
|
||||
struct device_node *of_node = op->dev.of_node;
|
||||
struct device *this_device;
|
||||
|
|
@ -1401,7 +1400,7 @@ static struct of_device_id data_of_match[] = {
|
|||
{},
|
||||
};
|
||||
|
||||
static struct of_platform_driver data_of_driver = {
|
||||
static struct platform_driver data_of_driver = {
|
||||
.probe = data_of_probe,
|
||||
.remove = data_of_remove,
|
||||
.driver = {
|
||||
|
|
@ -1417,12 +1416,12 @@ static struct of_platform_driver data_of_driver = {
|
|||
|
||||
static int __init data_init(void)
|
||||
{
|
||||
return of_register_platform_driver(&data_of_driver);
|
||||
return platform_driver_register(&data_of_driver);
|
||||
}
|
||||
|
||||
static void __exit data_exit(void)
|
||||
{
|
||||
of_unregister_platform_driver(&data_of_driver);
|
||||
platform_driver_unregister(&data_of_driver);
|
||||
}
|
||||
|
||||
MODULE_AUTHOR("Ira W. Snyder <[email protected]>");
|
||||
|
|
|
|||
Loading…
Reference in a new issue