arm: omap1: devices: need to return with a value
authorFelipe Balbi <balbi@ti.com>
Mon, 8 Nov 2010 06:48:00 +0000 (06:48 +0000)
committerTony Lindgren <tony@atomide.com>
Tue, 9 Nov 2010 00:45:28 +0000 (16:45 -0800)
commitdfcccd3aaba15e4e8ffae65fb2a757b3e49470de
tree7bbb150d07a1d809c497ef5efca366af200c1c9f
parent1cff502d8b22272addc4f5f57346d598b4755d9e
arm: omap1: devices: need to return with a value

Get rid of the following warning:

arch/arm/mach-omap1/devices.c: In function 'omap_init_wdt':
arch/arm/mach-omap1/devices.c:298: warning: 'return' with
no value, in function returning non-void

while at that, also change:

platform_device_register();
return 0;

into:

return platform_device_register();

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/devices.c