Skip to content

Commit

Permalink
MIPS: SEAD3: Fix I2C device registration.
Browse files Browse the repository at this point in the history
This isn't a module and shouldn't be one.

Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
ralfbaechle committed Oct 24, 2014
1 parent cc08d25 commit 4846f11
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions arch/mips/mti-sead3/sead3-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
{
Expand All @@ -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 <[email protected]>");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("I2C probe driver for SEAD3");
device_initcall(sead3_i2c_init);

0 comments on commit 4846f11

Please sign in to comment.