Subject: [PATCH 01/10] gpio: pxa: set initcall level to module init

From: [email-masked] (Robert Jarzmik)
Date: Fri, 25 Jan 2013 22:01:52 +0100

Haojian Zhuang <[email-masked]> writes:

> gpio & pinctrl driver are used together. The pinctrl driver is already
> launched before gpio driver in Makefile. So set gpio driver to module
> init level. Otherwise, the sequence will be inverted.
Hi Haojian,

If you switch gpio to module level, and as some modules use gpios in their init
path, isn't it possible that some modules will fail their init, as GPIO API
won't provide the gpio_*_value() functions ?

Cheers.

--
Robert