mfd: Fix aat2870 build failure for x86_64
authorJin Park <jinyoungp@nvidia.com>
Tue, 4 Oct 2011 10:35:07 +0000 (12:35 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:17 +0000 (14:09 +0200)
commitc38d66ac924e84ea3606c408b117157415df07b3
tree9f24009ce1b5cf61ac0aace3b346466cdd7f044d
parent782baa20b201100e14ce065bb7b890169e7a5d3c
mfd: Fix aat2870 build failure for x86_64

Without this fix, we get:

error: call to ‘copy_from_user_overflow’ declared with attribute error:
copy_from_user() buffer size is not provably correct
make[3]: *** [drivers/mfd/aat2870-core.o] Error 1

And this was triggered by commit da417bacc9143b934f1a480a25d0fb2bb648a820

Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/aat2870-core.c