regulator: tps650xx - build fixes for x86_64
authorLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 24 Aug 2009 09:31:34 +0000 (10:31 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 22 Sep 2009 12:32:43 +0000 (13:32 +0100)
commit9e108d33edcb88bac3db39ba1683fc2c0591d7d4
tree4fd7f1816d0de66f7bbcea309f46aedcfd3737ee
parent040932cdcfca9b0ac55a4f74f194c2e2c8a2527b
regulator: tps650xx - build fixes for x86_64

Fixes the following errors on both tps650xx regulator drivers :-

drivers/regulator/tps65023-regulator: struct i2c_device_id is 32 bytes.  The last of 1 is:
0x74 0x70 0x73 0x36 0x35 0x30 0x32 0x33 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
FATAL: drivers/regulator/tps65023-regulator: struct i2c_device_id is not terminated with a NULL entry!

This patch also fixes the GPL v2 licence string for both drivers.

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