Skip to content

Commit 29d49a7

Browse files
Umang Jaingregkh
Umang Jain
authored andcommitted
staging: vc04_services: bcm2835-audio: Drop include Makefile directive
Drop the include directive. They can break the build, when one only wants to build a subdirectory. Replace with "../" for the includes, in the bcm2835.h instead. Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Link: https://lore.kernel.org/r/20230120201104.606876-3-umang.jain@ideasonboard.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 2beeddb commit 29d49a7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
# SPDX-License-Identifier: GPL-2.0
22
obj-$(CONFIG_SND_BCM2835) += snd-bcm2835.o
33
snd-bcm2835-objs := bcm2835.o bcm2835-ctl.o bcm2835-pcm.o bcm2835-vchiq.o
4-
5-
ccflags-y += -I $(srctree)/$(src)/../include

drivers/staging/vc04_services/bcm2835-audio/bcm2835.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66

77
#include <linux/device.h>
88
#include <linux/wait.h>
9-
#include <linux/raspberrypi/vchiq.h>
109
#include <sound/core.h>
1110
#include <sound/pcm.h>
1211
#include <sound/pcm-indirect.h>
1312

13+
#include "../include/linux/raspberrypi/vchiq.h"
14+
1415
#define MAX_SUBSTREAMS (8)
1516
#define AVAIL_SUBSTREAMS_MASK (0xff)
1617

0 commit comments

Comments
 (0)