aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorMagnus Damm <[email protected]>2009-07-22 23:58:39 +0900
committerBen Dooks <[email protected]>2009-07-30 00:59:09 +0100
commitccb3bc16b4891a82649d4bccbeefe60b1d9a62e2 (patch)
treeaebc5629705675b634fef42777f8a10289bb46df /net/lapb/lapb_iface.c
parent783fd6fa4c144e3f6913e6fed89de10a6dd715a5 (diff)
i2c-sh_mobile: change module_init() to subsys_initcall()
Convert the i2c-sh_mobile i2c bus driver to use subsys_initcall() instead of module_init(). This change makes the driver register a bit earlier which together with earlier platform data moves the time for probe(). The earlier probe() makes it possible to use i2c_get_adapter() and i2c_transfer() from device_initcall(). The same strategy is used by other i2c bus drivers such as i2c-pxa.c and i2c-s3c2410.c. Signed-off-by: Magnus Damm <[email protected]> [[email protected]: minor subject updaye] Signed-off-by: Ben Dooks <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions