mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
staging: vc04_services: add CONFIG_COMPILE_TEST ability
It would be nice to be able to build this code on other platforms other than only the RPi, so add some empty macros to allow this to happen, and turn off BROKEN as the code can now build properly thanks to Michael's work. Cc: Michael Zoran <[email protected]> Cc: Daniel Stone <[email protected]> Cc: "Noralf Trønnes" <[email protected]> Cc: Pranith Kumar <[email protected]> Cc: popcornmix <[email protected]> Cc: Eric Anholt <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
424a4b595e
commit
abbdc56b17
2 changed files with 12 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
config BCM2835_VCHIQ
|
||||
tristate "Videocore VCHIQ"
|
||||
depends on RASPBERRYPI_FIRMWARE && BROKEN
|
||||
depends on RASPBERRYPI_FIRMWARE || COMPILE_TEST
|
||||
default y
|
||||
help
|
||||
Kernel to VideoCore communication interface for the
|
||||
|
|
|
|||
|
|
@ -37,4 +37,15 @@
|
|||
#include "vchiq_if.h"
|
||||
#include "vchiq_util.h"
|
||||
|
||||
/* Do this so that we can test-build the code on non-rpi systems */
|
||||
#if IS_ENABLED(CONFIG_RASPBERRYPI_FIRMWARE)
|
||||
|
||||
#else
|
||||
|
||||
#ifndef dsb
|
||||
#define dsb(a)
|
||||
#endif
|
||||
|
||||
#endif /* IS_ENABLED(CONFIG_RASPBERRYPI_FIRMWARE) */
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue