commit | 35c0272502cca0a1b461d310c23aac94a503983d | [log] [tgz] |
---|---|---|
author | Ramalingam C <[email protected]> | Sat Feb 16 10:34:59 2019 +0530 |
committer | Daniel Vetter <[email protected]> | Mon Feb 18 20:19:28 2019 +0100 |
tree | 0373dd093d01354c9ed8be5d79b13da87b3ffe42 | |
parent | 32097060189bf215439e719c5df514399235c52e [diff] [blame] |
drm/audio: declaration of struct device Header has used the references to struct device without it definition or declaration. Hence resulting in compilation warning such as "'struct device' declared inside parameter list..." This changes adds a declaration to struct device in the header to avoid any such warnings. Signed-off-by: Ramalingam C <[email protected]> cc: Takashi Iwai <[email protected]> cc: Daniel Vetter <[email protected]> Acked-by: Dave Airlie <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
diff --git a/include/drm/drm_audio_component.h b/include/drm/drm_audio_component.h index 4923b00..93a386b 100644 --- a/include/drm/drm_audio_component.h +++ b/include/drm/drm_audio_component.h
@@ -5,6 +5,7 @@ #define _DRM_AUDIO_COMPONENT_H_ struct drm_audio_component; +struct device; /** * struct drm_audio_component_ops - Ops implemented by DRM driver, called by hda driver