Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
staging: vc04_services: Split vchiq-mmal into a module
In preparation for adding a video codec V4L2 module which also wants to use vchiq-mmal functions, split it out into an independent module. The minimum number of changes have been made to achieve this (eg straight moves where possible) so existing checkpatch errors will still be present. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
- Loading branch information
Showing
15 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
bcm2835-v4l2-$(CONFIG_VIDEO_BCM2835) := \ | ||
bcm2835-camera.o \ | ||
controls.o \ | ||
mmal-vchiq.o | ||
controls.o | ||
|
||
obj-$(CONFIG_VIDEO_BCM2835) += bcm2835-v4l2.o | ||
|
||
ccflags-y += \ | ||
-I $(srctree)/$(src)/.. \ | ||
-Idrivers/staging/vc04_services \ | ||
-Idrivers/staging/vc04_services/vchiq-mmal \ | ||
-D__VCCOREVER__=0x04000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
config BCM2835_VCHIQ_MMAL | ||
tristate "BCM2835 MMAL VCHIQ service" | ||
depends on (ARCH_BCM2835 || COMPILE_TEST) | ||
select BCM2835_VCHIQ | ||
help | ||
Enables the MMAL API over VCHIQ as used for the | ||
majority of the multimedia services on VideoCore. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
bcm2835-mmal-vchiq-objs := mmal-vchiq.o | ||
|
||
obj-$(CONFIG_BCM2835_VCHIQ_MMAL) += bcm2835-mmal-vchiq.o | ||
|
||
ccflags-y += \ | ||
-Idrivers/staging/vc04_services \ | ||
-D__VCCOREVER__=0x04000000 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.