mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
MIPS: SEAD3: Fix I2C device registration.
This isn't a module and shouldn't be one. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
cc08d25a88
commit
4846f11816
@ -5,10 +5,8 @@
|
||||
*
|
||||
* Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved.
|
||||
*/
|
||||
#include <linux/module.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <irq.h>
|
||||
|
||||
struct resource sead3_i2c_resources[] = {
|
||||
{
|
||||
@ -30,8 +28,4 @@ static int __init sead3_i2c_init(void)
|
||||
return platform_device_register(&sead3_i2c_device);
|
||||
}
|
||||
|
||||
module_init(sead3_i2c_init);
|
||||
|
||||
MODULE_AUTHOR("Chris Dearman <chris@mips.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("I2C probe driver for SEAD3");
|
||||
device_initcall(sead3_i2c_init);
|
||||
|
Loading…
Reference in New Issue
Block a user