Skip to content

Commit

Permalink
MIPS: SEAD3: Fix LED 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]>
Cc: Markos Chandras <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/8202/
  • Loading branch information
ralfbaechle committed Nov 24, 2014
1 parent b61a393 commit a54b8b0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions arch/mips/mti-sead3/sead3-leds.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/leds.h>
#include <linux/platform_device.h>

Expand Down Expand Up @@ -76,8 +76,4 @@ static int __init led_init(void)
return platform_device_register(&fled_device);
}

module_init(led_init);

MODULE_AUTHOR("Chris Dearman <[email protected]>");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("LED probe driver for SEAD-3");
device_initcall(led_init);

0 comments on commit a54b8b0

Please sign in to comment.