forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MIPS: SEAD3: sead3-ehci should not be a module.
So let's remove everythig that only make sense for a kernel module and build the thing unconditionally. Signed-off-by: Ralf Baechle <[email protected]>
- Loading branch information
1 parent
85f215c
commit 6b09adc
Showing
2 changed files
with
5 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,13 @@ | |
# Copyright (C) 2012 MIPS Technoligies, Inc. All rights reserved. | ||
# Steven J. Hill <[email protected]> | ||
# | ||
obj-y := sead3-lcd.o sead3-display.o sead3-init.o \ | ||
sead3-int.o sead3-mtd.o sead3-net.o \ | ||
sead3-platform.o sead3-reset.o \ | ||
obj-y := sead3-lcd.o sead3-display.o sead3-ehci.o \ | ||
sead3-init.o sead3-int.o sead3-mtd.o \ | ||
sead3-net.o sead3-platform.o sead3-reset.o \ | ||
sead3-setup.o sead3-time.o | ||
|
||
obj-y += leds-sead3.o sead3-leds.o | ||
|
||
obj-$(CONFIG_EARLY_PRINTK) += sead3-console.o | ||
obj-$(CONFIG_USB_EHCI_HCD) += sead3-ehci.o | ||
|
||
CFLAGS_sead3-setup.o = -I$(src)/../../../scripts/dtc/libfdt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* | ||
* Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. | ||
*/ | ||
#include <linux/module.h> | ||
#include <linux/init.h> | ||
#include <linux/irq.h> | ||
#include <linux/dma-mapping.h> | ||
#include <linux/platform_device.h> | ||
|
@@ -46,8 +46,4 @@ static int __init ehci_init(void) | |
return platform_device_register(&ehci_device); | ||
} | ||
|
||
module_init(ehci_init); | ||
|
||
MODULE_AUTHOR("Chris Dearman <[email protected]>"); | ||
MODULE_LICENSE("GPL"); | ||
MODULE_DESCRIPTION("EHCI probe driver for SEAD3"); | ||
device_initcall(ehci_init); |