]> git.baikalelectronics.ru Git - kernel.git/commit
drm/audio: declaration of struct device
authorRamalingam C <ramalingam.c@intel.com>
Sat, 16 Feb 2019 05:04:59 +0000 (10:34 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 18 Feb 2019 19:19:28 +0000 (20:19 +0100)
commita4884da0005172dd2f5873ec10bf7e6cba39a05f
tree0373dd093d01354c9ed8be5d79b13da87b3ffe42
parent166a6d19455f81fc56d7bec82cdcbcd5ab071e52
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 <ramalingam.c@intel.com>
cc: Takashi Iwai <tiwai@suse.de>
cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1550293499-5560-1-git-send-email-ramalingam.c@intel.com
include/drm/drm_audio_component.h