From: Mark Brown Date: Mon, 24 Oct 2011 13:24:10 +0000 (+0200) Subject: gpiolib: Ensure struct gpio is always defined X-Git-Tag: v3.2-rc1~124^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=feb836992437c9b8b53988da30880e0e6e93ac8b;p=pandora-kernel.git gpiolib: Ensure struct gpio is always defined Currently struct gpio is only defined when using gpiolib which makes the stub gpio_request_array() much less useful in drivers than is ideal as they can't work with struct gpio. Since there are no other definitions in kernel instead make the define always available no matter if gpiolib is selectable or selected, ensuring that drivers can always use the type. Signed-off-by: Mark Brown Signed-off-by: Grant Likely --- Reading git-diff-tree failed