[adm5120] fix UART code for 2.6.30
[openwrt.git] / target / linux / adm5120 / patches-2.6.30 / 800-adm5120-remove-amba-bus-id.patch
1 --- a/arch/mips/adm5120/common/platform.c
2 +++ b/arch/mips/adm5120/common/platform.c
3 @@ -190,7 +190,7 @@ struct amba_pl010_data adm5120_uart0_dat
4  
5  struct amba_device adm5120_uart0_device = {
6         .dev            = {
7 -               .bus_id = "APB:UART0",
8 +               .init_name = "apb:uart0",
9                 .platform_data = &adm5120_uart0_data,
10         },
11         .res            = {
12 @@ -208,7 +208,7 @@ struct amba_pl010_data adm5120_uart1_dat
13  
14  struct amba_device adm5120_uart1_device = {
15         .dev            = {
16 -               .bus_id = "APB:UART1",
17 +               .init_name = "apb:uart1",
18                 .platform_data = &adm5120_uart1_data,
19         },
20         .res            = {