]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: powertv: Fix arguments for free_reserved_area()
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 25 Jul 2013 15:11:28 +0000 (16:11 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 30 Jul 2013 16:50:31 +0000 (18:50 +0200)
commit3f0edd15189435175d7a26c93524ce9b0b50adfd
treeff2fe61641f4bad35171bcbe32a476874b5b3557
parent54c61d3be5889d0388f2ddb9ecccd57e66e7f63a
MIPS: powertv: Fix arguments for free_reserved_area()

Commit 8de10be3a80392776b1eaf7d55b025373ac9af27
"MIPS: PowerTV: use free_reserved_area() to simplify code"

merged in 3.11-rc1, broke the build for the powertv defconfig with
the following build error:

arch/mips/powertv/asic/asic_devices.c: In function 'platform_release_memory':
arch/mips/powertv/asic/asic_devices.c:533:7: error: passing argument 1 of
'free_reserved_area' makes pointer from integer without a cast [-Werror]

The free_reserved_area() function expects a void * pointer for the start
address and a void * pointer for the end one.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5624/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/powertv/asic/asic_devices.c