diff options
| -rw-r--r-- | arch/powerpc/configs/linkstation_defconfig | 7 | ||||
| -rw-r--r-- | arch/powerpc/platforms/embedded6xx/linkstation.c | 14 |
2 files changed, 17 insertions, 4 deletions
diff --git a/arch/powerpc/configs/linkstation_defconfig b/arch/powerpc/configs/linkstation_defconfig index 6fc4c2127757..d0846ec238d0 100644 --- a/arch/powerpc/configs/linkstation_defconfig +++ b/arch/powerpc/configs/linkstation_defconfig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.27-rc4 | 3 | # Linux kernel version: 2.6.27 |
| 4 | # Thu Aug 21 00:52:05 2008 | 4 | # Fri Oct 24 00:42:39 2008 |
| 5 | # | 5 | # |
| 6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
| 7 | 7 | ||
| @@ -934,7 +934,7 @@ CONFIG_SERIAL_8250_RUNTIME_UARTS=4 | |||
| 934 | CONFIG_SERIAL_CORE=y | 934 | CONFIG_SERIAL_CORE=y |
| 935 | CONFIG_SERIAL_CORE_CONSOLE=y | 935 | CONFIG_SERIAL_CORE_CONSOLE=y |
| 936 | # CONFIG_SERIAL_JSM is not set | 936 | # CONFIG_SERIAL_JSM is not set |
| 937 | CONFIG_SERIAL_OF_PLATFORM=y | 937 | # CONFIG_SERIAL_OF_PLATFORM is not set |
| 938 | CONFIG_UNIX98_PTYS=y | 938 | CONFIG_UNIX98_PTYS=y |
| 939 | CONFIG_LEGACY_PTYS=y | 939 | CONFIG_LEGACY_PTYS=y |
| 940 | CONFIG_LEGACY_PTY_COUNT=256 | 940 | CONFIG_LEGACY_PTY_COUNT=256 |
| @@ -1211,7 +1211,6 @@ CONFIG_USB_STORAGE=m | |||
| 1211 | # CONFIG_USB_STORAGE_ALAUDA is not set | 1211 | # CONFIG_USB_STORAGE_ALAUDA is not set |
| 1212 | # CONFIG_USB_STORAGE_ONETOUCH is not set | 1212 | # CONFIG_USB_STORAGE_ONETOUCH is not set |
| 1213 | # CONFIG_USB_STORAGE_KARMA is not set | 1213 | # CONFIG_USB_STORAGE_KARMA is not set |
| 1214 | # CONFIG_USB_STORAGE_SIERRA is not set | ||
| 1215 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set | 1214 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set |
| 1216 | # CONFIG_USB_LIBUSUAL is not set | 1215 | # CONFIG_USB_LIBUSUAL is not set |
| 1217 | 1216 | ||
diff --git a/arch/powerpc/platforms/embedded6xx/linkstation.c b/arch/powerpc/platforms/embedded6xx/linkstation.c index eb5d74e26fe9..2ca7be65c2d2 100644 --- a/arch/powerpc/platforms/embedded6xx/linkstation.c +++ b/arch/powerpc/platforms/embedded6xx/linkstation.c | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
| 14 | #include <linux/initrd.h> | 14 | #include <linux/initrd.h> |
| 15 | #include <linux/mtd/physmap.h> | 15 | #include <linux/mtd/physmap.h> |
| 16 | #include <linux/of_platform.h> | ||
| 16 | 17 | ||
| 17 | #include <asm/time.h> | 18 | #include <asm/time.h> |
| 18 | #include <asm/prom.h> | 19 | #include <asm/prom.h> |
| @@ -54,6 +55,19 @@ static struct mtd_partition linkstation_physmap_partitions[] = { | |||
| 54 | }, | 55 | }, |
| 55 | }; | 56 | }; |
| 56 | 57 | ||
| 58 | static __initdata struct of_device_id of_bus_ids[] = { | ||
| 59 | { .type = "soc", }, | ||
| 60 | { .compatible = "simple-bus", }, | ||
| 61 | {}, | ||
| 62 | }; | ||
| 63 | |||
| 64 | static int __init declare_of_platform_devices(void) | ||
| 65 | { | ||
| 66 | of_platform_bus_probe(NULL, of_bus_ids, NULL); | ||
| 67 | return 0; | ||
| 68 | } | ||
| 69 | machine_device_initcall(linkstation, declare_of_platform_devices); | ||
| 70 | |||
| 57 | static int __init linkstation_add_bridge(struct device_node *dev) | 71 | static int __init linkstation_add_bridge(struct device_node *dev) |
| 58 | { | 72 | { |
| 59 | #ifdef CONFIG_PCI | 73 | #ifdef CONFIG_PCI |
