forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/gpu/drm/arc/arcpgu_hdmi.c
....@@ -1,19 +1,11 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * ARC PGU DRM driver.
34 *
45 * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com)
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- * GNU General Public License for more details.
14
- *
156 */
167
8
+#include <drm/drm_bridge.h>
179 #include <drm/drm_crtc.h>
1810 #include <drm/drm_encoder.h>
1911 #include <drm/drm_device.h>
....@@ -48,7 +40,7 @@
4840 return ret;
4941
5042 /* Link drm_bridge to encoder */
51
- ret = drm_bridge_attach(encoder, bridge, NULL);
43
+ ret = drm_bridge_attach(encoder, bridge, NULL, 0);
5244 if (ret)
5345 drm_encoder_cleanup(encoder);
5446