Merge master.kernel.org:/home/rmk/linux-2.6-serial
此提交包含在:
@@ -2536,7 +2536,7 @@ static int __init serial8250_init(void)
|
||||
goto out;
|
||||
|
||||
serial8250_isa_devs = platform_device_register_simple("serial8250",
|
||||
-1, NULL, 0);
|
||||
PLAT8250_DEV_LEGACY, NULL, 0);
|
||||
if (IS_ERR(serial8250_isa_devs)) {
|
||||
ret = PTR_ERR(serial8250_isa_devs);
|
||||
goto unreg;
|
||||
|
@@ -29,7 +29,7 @@ static struct plat_serial8250_port accent_data[] = {
|
||||
|
||||
static struct platform_device accent_device = {
|
||||
.name = "serial8250",
|
||||
.id = 2,
|
||||
.id = PLAT8250_DEV_ACCENT,
|
||||
.dev = {
|
||||
.platform_data = accent_data,
|
||||
},
|
||||
|
@@ -43,7 +43,7 @@ static struct plat_serial8250_port boca_data[] = {
|
||||
|
||||
static struct platform_device boca_device = {
|
||||
.name = "serial8250",
|
||||
.id = 3,
|
||||
.id = PLAT8250_DEV_BOCA,
|
||||
.dev = {
|
||||
.platform_data = boca_data,
|
||||
},
|
||||
|
@@ -35,7 +35,7 @@ static struct plat_serial8250_port fourport_data[] = {
|
||||
|
||||
static struct platform_device fourport_device = {
|
||||
.name = "serial8250",
|
||||
.id = 1,
|
||||
.id = PLAT8250_DEV_FOURPORT,
|
||||
.dev = {
|
||||
.platform_data = fourport_data,
|
||||
},
|
||||
|
@@ -40,7 +40,7 @@ static struct plat_serial8250_port hub6_data[] = {
|
||||
|
||||
static struct platform_device hub6_device = {
|
||||
.name = "serial8250",
|
||||
.id = 4,
|
||||
.id = PLAT8250_DEV_HUB6,
|
||||
.dev = {
|
||||
.platform_data = hub6_data,
|
||||
},
|
||||
|
@@ -44,7 +44,7 @@ static struct plat_serial8250_port mca_data[] = {
|
||||
|
||||
static struct platform_device mca_device = {
|
||||
.name = "serial8250",
|
||||
.id = 5,
|
||||
.id = PLAT8250_DEV_MCA,
|
||||
.dev = {
|
||||
.platform_data = mca_data,
|
||||
},
|
||||
|
新增問題並參考
封鎖使用者