diff options
author | Guenter Roeck <linux@roeck-us.net> | 2016-03-31 08:11:30 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-04-08 10:10:09 +0200 |
commit | 159f3cd92f17c61a4e2a47456de5865b114ef88e (patch) | |
tree | 4d3fc7e1a33a29249fc05749ac79f0695a3b7a8c /crypto/hmac.c | |
parent | 476e2fc5cd430bbe17598833e79f8e8b9e4bbbc7 (diff) | |
download | linux-159f3cd92f17c61a4e2a47456de5865b114ef88e.tar.bz2 |
gpiolib: Defer gpio device setup until after gpiolib initialization
Since commit ff2b13592299 ("gpio: make the gpiochip a real device"),
attempts to add a gpio chip prior to gpiolib initialization cause
the system to crash. This happens because gpio_bus_type has not been
registered yet. Defer creating gpio devices until after gpiolib has
been initialized to fix the problem.
Cc: Greg Ungerer <gerg@uclinux.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Fixes: ff2b13592299 ("gpio: make the gpiochip a real device")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'crypto/hmac.c')
0 files changed, 0 insertions, 0 deletions