| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright 2016 Linaro Ltd. |
|---|
| 3 | 4 | * Copyright 2016 ZTE Corporation. |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 6 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 7 | | - * published by the Free Software Foundation. |
|---|
| 8 | | - * |
|---|
| 9 | 5 | */ |
|---|
| 10 | 6 | |
|---|
| 11 | 7 | #include <linux/clk.h> |
|---|
| 12 | 8 | #include <linux/component.h> |
|---|
| 9 | +#include <linux/module.h> |
|---|
| 13 | 10 | #include <linux/of_address.h> |
|---|
| 11 | +#include <linux/platform_device.h> |
|---|
| 12 | + |
|---|
| 14 | 13 | #include <video/videomode.h> |
|---|
| 15 | 14 | |
|---|
| 16 | 15 | #include <drm/drm_atomic_helper.h> |
|---|
| 17 | 16 | #include <drm/drm_crtc.h> |
|---|
| 18 | | -#include <drm/drm_crtc_helper.h> |
|---|
| 19 | 17 | #include <drm/drm_fb_cma_helper.h> |
|---|
| 20 | 18 | #include <drm/drm_fb_helper.h> |
|---|
| 21 | 19 | #include <drm/drm_gem_cma_helper.h> |
|---|
| 22 | 20 | #include <drm/drm_of.h> |
|---|
| 23 | 21 | #include <drm/drm_plane_helper.h> |
|---|
| 24 | | -#include <drm/drmP.h> |
|---|
| 22 | +#include <drm/drm_probe_helper.h> |
|---|
| 23 | +#include <drm/drm_vblank.h> |
|---|
| 25 | 24 | |
|---|
| 26 | 25 | #include "zx_common_regs.h" |
|---|
| 27 | 26 | #include "zx_drm_drv.h" |
|---|