diff options
| author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-12-05 23:20:17 +0000 | 
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-12-05 23:20:17 +0000 | 
| commit | 742eaa6a6e356a16788ce6530271de89bc4f8fb5 (patch) | |
| tree | 12fc040daab06ac796c61c1d92bfad9bb054d1c1 /drivers/misc/carma/carma-fpga.c | |
| parent | ba8bb18a03f8c7508565c385576a5431a4ad804a (diff) | |
| parent | ae72fd588a2b302222769b44775912b83f0785eb (diff) | |
| download | olio-linux-3.10-742eaa6a6e356a16788ce6530271de89bc4f8fb5.tar.xz olio-linux-3.10-742eaa6a6e356a16788ce6530271de89bc4f8fb5.zip  | |
Merge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into devel-stable
Conflicts:
	arch/arm/common/gic.c
	arch/arm/plat-omap/include/plat/common.h
Diffstat (limited to 'drivers/misc/carma/carma-fpga.c')
| -rw-r--r-- | drivers/misc/carma/carma-fpga.c | 9 | 
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/misc/carma/carma-fpga.c b/drivers/misc/carma/carma-fpga.c index 3965821fef1..14e974b2a78 100644 --- a/drivers/misc/carma/carma-fpga.c +++ b/drivers/misc/carma/carma-fpga.c @@ -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 <iws@ovro.caltech.edu>");  |