提交 3c0db899 编写于 作者: T Tony Luck

[IA64] Fix section mismatch ioc3uart_init()/ioc3uart_submodule

s/ioc3uart_submodule/ioc3uart_ops/ makes the section mismatch
check happy.
Signed-off-by: NTony Luck <tony.luck@intel.com>
上级 ecdbc690
...@@ -2149,7 +2149,7 @@ ioc3uart_probe(struct ioc3_submodule *is, struct ioc3_driver_data *idd) ...@@ -2149,7 +2149,7 @@ ioc3uart_probe(struct ioc3_submodule *is, struct ioc3_driver_data *idd)
return ret; return ret;
} }
static struct ioc3_submodule ioc3uart_submodule = { static struct ioc3_submodule ioc3uart_ops = {
.name = "IOC3uart", .name = "IOC3uart",
.probe = ioc3uart_probe, .probe = ioc3uart_probe,
.remove = ioc3uart_remove, .remove = ioc3uart_remove,
...@@ -2173,7 +2173,7 @@ static int __devinit ioc3uart_init(void) ...@@ -2173,7 +2173,7 @@ static int __devinit ioc3uart_init(void)
__func__); __func__);
return ret; return ret;
} }
ret = ioc3_register_submodule(&ioc3uart_submodule); ret = ioc3_register_submodule(&ioc3uart_ops);
if (ret) if (ret)
uart_unregister_driver(&ioc3_uart); uart_unregister_driver(&ioc3_uart);
return ret; return ret;
...@@ -2181,7 +2181,7 @@ static int __devinit ioc3uart_init(void) ...@@ -2181,7 +2181,7 @@ static int __devinit ioc3uart_init(void)
static void __devexit ioc3uart_exit(void) static void __devexit ioc3uart_exit(void)
{ {
ioc3_unregister_submodule(&ioc3uart_submodule); ioc3_unregister_submodule(&ioc3uart_ops);
uart_unregister_driver(&ioc3_uart); uart_unregister_driver(&ioc3_uart);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册