]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm/nouveu: fix swiotlb include
authorChristian König <christian.koenig@amd.com>
Fri, 30 Oct 2020 11:11:38 +0000 (12:11 +0100)
committerChristian König <christian.koenig@amd.com>
Mon, 2 Nov 2020 10:43:44 +0000 (11:43 +0100)
The check for swiotlb has moved to nouveu_ttm.c, but we forgot to move
the include as well.

This blows up only when merged with linux-next, not sure why drm-misc-next
works stand alone.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/397835/
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/nouveau/nouveau_ttm.c

index 746c06ed195bf4e772aecf70a7b0c3ed5a079e31..8133377d865d353f8779764a66eb7306dbf5071e 100644 (file)
@@ -28,7 +28,6 @@
  */
 
 #include <linux/dma-mapping.h>
-#include <linux/swiotlb.h>
 
 #include "nouveau_drv.h"
 #include "nouveau_chan.h"
index d696d882c9ebb68451d2bc966644a9f207eaae19..2bf36229dd571f647da3ebf9419f871d71413b22 100644 (file)
@@ -22,6 +22,9 @@
  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  * USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
+
+#include <linux/swiotlb.h>
+
 #include "nouveau_drv.h"
 #include "nouveau_gem.h"
 #include "nouveau_mem.h"