| From a6ad498986a5e851eda8ade11c9b9a55aeab5660 Mon Sep 17 00:00:00 2001 |
| From: Stephen Rothwell <sfr@canb.auug.org.au> |
| Date: Wed, 28 Aug 2019 18:55:16 +1000 |
| Subject: [PATCH] drm/virtio: module_param_named() requires linux/moduleparam.h |
| |
| commit b0138364da17617db052c4a738b58bf45e42f500 upstream. |
| |
| Fixes: 3e93bc2a58aa ("drm/virtio: make resource id workaround runtime switchable.") |
| Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> |
| Link: http://patchwork.freedesktop.org/patch/msgid/20190828185516.22b03da8@canb.auug.org.au |
| Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/drivers/gpu/drm/virtio/virtgpu_object.c b/drivers/gpu/drm/virtio/virtgpu_object.c |
| index 3e538f86b082..8de93ccacaac 100644 |
| --- a/drivers/gpu/drm/virtio/virtgpu_object.c |
| +++ b/drivers/gpu/drm/virtio/virtgpu_object.c |
| @@ -23,6 +23,8 @@ |
| * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| */ |
| |
| +#include <linux/moduleparam.h> |
| + |
| #include <drm/ttm/ttm_execbuf_util.h> |
| |
| #include "virtgpu_drv.h" |
| -- |
| 2.7.4 |
| |