regulator: build fix for powerpc - renamed show_state
authorLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 28 Apr 2009 11:01:16 +0000 (12:01 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 15 Jun 2009 10:18:23 +0000 (11:18 +0100)
commit7c314991d7d7ad4edf96e8322bcb30e8452957b7
treee6ff0860de3f408f9f5ce960cf314e95cb05ae74
parent1d98cccf7f8b944ba4ea56d14bbb7c2eeee59bfe
regulator: build fix for powerpc - renamed show_state

This patch fixes the follwing build failure on powerpc:-

> Today's linux-next build (powerpc allyesconfig) failed like this:
>
> drivers/regulator/userspace-consumer.c:43: error: conflicting types
> for 'show_state'
> include/linux/sched.h:273: note: previous definition of 'show_state'
> was here
>
> Caused by commit 5defa2bce704ca4151cfe24e4297aa7797cafd22 ("regulator:
> add userspace-consumer driver") which I have reverted for today.

Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/userspace-consumer.c