staging: vc04_services: fix dmac_map/unmap_area prototypes
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Oct 2016 10:03:17 +0000 (12:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:26:10 +0000 (10:26 +0200)
commitf51bb7a6f548e961eb50e2221e45fcfe2b31ed94
treef88fb0cae11407a98d8d6f6413c6b623a8e85470
parent7a29a391ec8e615fab4d37add5708a4cc76421a7
staging: vc04_services: fix dmac_map/unmap_area prototypes

You don't define a function prototype on one line as a #define, and then
the next declare it as an external C function, without expecting a C
compiler to complain loudly.

So fix up this mess.

Cc: Daniel Stone <daniels@collabora.com>
Cc: "Noralf Trønnes" <noralf@tronnes.org>
Cc: Pranith Kumar <bobby.prani@gmail.com>
Cc: popcornmix <popcornmix@gmail.com>
Cc: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c