summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJaya Kumar <jayakumar.lkml@gmail.com>2008-11-18 02:32:36 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-11-23 15:49:59 +0000
commit47fd6f7c94e15eb5f97dd1cbb0427a46b03c8185 (patch)
treedc9842ab5729f971c21947232c86fb928d45125a /arch
parent844c6f6a36984c5fe1bcc2d68a88f2ed212d1eef (diff)
downloadop-kernel-dev-47fd6f7c94e15eb5f97dd1cbb0427a46b03c8185.zip
op-kernel-dev-47fd6f7c94e15eb5f97dd1cbb0427a46b03c8185.tar.gz
[ARM] 5335/1: pxa25x_udc: Fix is_vbus_present to return 1 or 0
the use of is_blah() suggests a 1 or 0 return. This assumption is made in pxa25x_udc code such as: dev->vbus = is_vbus_present(); where dev->vbus is a bitfield. This fix allows pxa25x_udc_probe to correctly detect vbus. Other changes were to make its use consistent in the rest of the code. Signed-off-by: Jaya Kumar <jayakumar.lkml@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud