diff options
| author | Ralf Baechle <ralf@linux-mips.org> | 2014-10-23 18:41:45 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-24 01:44:03 -0500 |
| commit | a54b8b0800f6fed5044bc6750ee757975a0ec35e (patch) | |
| tree | 6a394daef972ff25e5d58af2651d923f8c03ea39 | |
| parent | b61a393945298c11093a1fee3c89cffa64ff5d0e (diff) | |
MIPS: SEAD3: Fix LED device registration.
This isn't a module and shouldn't be one.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8202/
| -rw-r--r-- | arch/mips/mti-sead3/sead3-leds.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/mips/mti-sead3/sead3-leds.c b/arch/mips/mti-sead3/sead3-leds.c index 20102a6d4141..c427c5778186 100644 --- a/arch/mips/mti-sead3/sead3-leds.c +++ b/arch/mips/mti-sead3/sead3-leds.c | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. | 6 | * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. |
| 7 | */ | 7 | */ |
| 8 | #include <linux/module.h> | 8 | #include <linux/init.h> |
| 9 | #include <linux/leds.h> | 9 | #include <linux/leds.h> |
| 10 | #include <linux/platform_device.h> | 10 | #include <linux/platform_device.h> |
| 11 | 11 | ||
| @@ -76,8 +76,4 @@ static int __init led_init(void) | |||
| 76 | return platform_device_register(&fled_device); | 76 | return platform_device_register(&fled_device); |
| 77 | } | 77 | } |
| 78 | 78 | ||
| 79 | module_init(led_init); | 79 | device_initcall(led_init); |
| 80 | |||
| 81 | MODULE_AUTHOR("Chris Dearman <chris@mips.com>"); | ||
| 82 | MODULE_LICENSE("GPL"); | ||
| 83 | MODULE_DESCRIPTION("LED probe driver for SEAD-3"); | ||
