include/drm/bridge/cdns-mhdp.h:635:21: warning: 'struct platform_device'
declared
inside parameter list will not be visible outside of this definition or
declaration
635 | int (*bind)(struct platform_device *pdev,
| ^~~~~~~~~~~~~~~
Signed-off-by: Jun Miao <[email protected]>
---
include/drm/bridge/cdns-mhdp.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/drm/bridge/cdns-mhdp.h b/include/drm/bridge/cdns-mhdp.h
index 1f8fd024cdfa..4d4ba1ac6281 100755
--- a/include/drm/bridge/cdns-mhdp.h
+++ b/include/drm/bridge/cdns-mhdp.h
@@ -16,6 +16,7 @@
#ifndef CDNS_MHDP_H_
#define CDNS_MHDP_H_
+#include <linux/platform_device.h>
#include <drm/drm_bridge.h>
#include <drm/drm_connector.h>
#include <drm/drm_dp_helper.h>
--
2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9423):
https://lists.yoctoproject.org/g/linux-yocto/message/9423
Mute This Topic: https://lists.yoctoproject.org/mt/80099137/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-