commit | b980a26d02d1f54be31346666222304fcd27ea33 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa@the-dreams.de> | Mon Mar 14 10:41:52 2016 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Mon Mar 14 18:17:25 2016 +0100 |
tree | 315d6c0f33ca6d0eae6f8eda2610d26cde4883e8 | |
parent | 34b57f40a6a27f45dfa51b46cdbc96b7031652a7 [diff] |
i2c: immediately mark ourselves as registered Mark the i2c bus as registered right after the the bus_register call, not at the end of init. Otherwise, we can't register our own dummy driver. Reported-by: Thierry Reding <thierry.reding@gmail.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Fixes: 95026658c46ea2 ("i2c: do not use internal data from driver core")