staging: vc04_services: fix up rpi firmware functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Oct 2016 13:16:55 +0000 (15:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:26:12 +0000 (10:26 +0200)
commitd45f1a563b92dac7eeff817e8f5178caa47e2c16
tree5f9bdfade7c501d31931c42e653107fedf853b4e
parentdf044ebfc5bfba6810e3940db458d7fb4572bc6f
staging: vc04_services: fix up rpi firmware functions

The raspberrypi-firmware.h file should provide empty functions if we
aren't building in that option.  This makes it easier to test-build
code, and not have odd warnings about unused variables if you just try
to #define away the functions.

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>
include/soc/bcm2835/raspberrypi-firmware.h