OSDN Git Service

drm/virtio: module_param_named() requires linux/moduleparam.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 28 Aug 2019 08:55:16 +0000 (18:55 +1000)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 28 Aug 2019 09:11:57 +0000 (11:11 +0200)
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>
drivers/gpu/drm/virtio/virtgpu_object.c

index e98aaa0..ab33b65 100644 (file)
@@ -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"