Thread (5 messages) flat view 5 messages, 4 authors, 2014-09-22

[PATCH] i2c-rk3x: move setup to the earlier subsys initcall

From: Max Schwarz <hidden>
Date: 2014-09-22 16:21:06
Also in: linux-i2c, lkml

Hi Chris,
quoted
+subsys_initcall(rk3x_i2c_init_driver);
+module_exit(rk3x_i2c_exit_driver);
This means that the driver cannot be used as a loadable module any more,
right?

In that case, you should probably turn the tristate option in Kconfig into a
bool.
I'm sorry, I see now that subsys_initcall() gets mapped to module_init() if 
the driver is built as a loadable module. Everything is fine ;-)

Acked-By: Max Schwarz <redacted>

Cheers,
  Max
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help