.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * ARC PGU DRM driver. |
---|
3 | 4 | * |
---|
4 | 5 | * 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 | | - * |
---|
15 | 6 | */ |
---|
16 | 7 | |
---|
| 8 | +#include <drm/drm_bridge.h> |
---|
17 | 9 | #include <drm/drm_crtc.h> |
---|
18 | 10 | #include <drm/drm_encoder.h> |
---|
19 | 11 | #include <drm/drm_device.h> |
---|
.. | .. |
---|
48 | 40 | return ret; |
---|
49 | 41 | |
---|
50 | 42 | /* Link drm_bridge to encoder */ |
---|
51 | | - ret = drm_bridge_attach(encoder, bridge, NULL); |
---|
| 43 | + ret = drm_bridge_attach(encoder, bridge, NULL, 0); |
---|
52 | 44 | if (ret) |
---|
53 | 45 | drm_encoder_cleanup(encoder); |
---|
54 | 46 | |
---|