We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd29cdb commit cdfb680Copy full SHA for cdfb680
1 file changed
drivers/gpu/drm/apple/av.h
@@ -6,7 +6,12 @@
6
//int avep_audiosrv_startlink(struct apple_dcp *dcp, struct dcp_sound_cookie *cookie);
7
//int avep_audiosrv_stoplink(struct apple_dcp *dcp);
8
9
+#if IS_ENABLED(CONFIG_DRM_APPLE_AUDIO)
10
void av_service_connect(struct apple_dcp *dcp);
11
void av_service_disconnect(struct apple_dcp *dcp);
12
+#else
13
+static inline void av_service_connect(struct apple_dcp *dcp) { }
14
+static inline void av_service_disconnect(struct apple_dcp *dcp) { }
15
+#endif
16
17
#endif /* __AV_H__ */
0 commit comments