[PATCH v3 00/16] gpu/drm: remove -Iinclude/drm compiler flags from Makefile

Masahiro Yamada yamada.masahiro at socionext.com
Thu May 18 04:29:37 UTC 2017


Many Makefiles needed to add -Iinclude/drm as an include path,
but the right thing to do is to include headers in the form
  #include <drm/.../*.h>

This series fixes the source files, then rip off -Iinclude/drm flags.

V3: rebased on commit bb2af9bda33 (drm-misc-next)


Masahiro Yamada (16):
  drm/vc4: fix include notation and remove -Iinclude/drm flag
  drm/virtio: fix include notation and remove -Iinclude/drm flag
  drm/vmwgfx: fix include notation and remove -Iinclude/drm flag
  drm/gma500: remove unneeded -Iinclude/drm compiler flag
  drm/i810: remove unneeded -Iinclude/drm compiler flag
  drm/i2c: remove unneeded -Iinclude/drm compiler flag
  drm/mga: remove unneeded -Iinclude/drm compiler flag
  drm/omap: remove unneeded -Iinclude/drm compiler flag
  drm/r128: remove unneeded -Iinclude/drm compiler flag
  drm/savage: remove unneeded -Iinclude/drm compiler flag
  drm/sis: remove unneeded -Iinclude/drm compiler flag
  drm/stm: remove unneeded -Iinclude/drm compiler flag
  drm/tdfx: remove unneeded -Iinclude/drm compiler flag
  drm/udl: remove unneeded -Iinclude/drm compiler flag
  drm/vgem: remove unneeded -Iinclude/drm compiler flag
  drm/via: remove unneeded -Iinclude/drm compiler flag

 drivers/gpu/drm/gma500/Makefile          |  1 -
 drivers/gpu/drm/i2c/Makefile             |  2 --
 drivers/gpu/drm/i810/Makefile            |  1 -
 drivers/gpu/drm/mga/Makefile             |  1 -
 drivers/gpu/drm/omapdrm/Makefile         |  1 -
 drivers/gpu/drm/r128/Makefile            |  1 -
 drivers/gpu/drm/savage/Makefile          |  1 -
 drivers/gpu/drm/sis/Makefile             |  1 -
 drivers/gpu/drm/stm/Makefile             |  2 --
 drivers/gpu/drm/tdfx/Makefile            |  1 -
 drivers/gpu/drm/udl/Makefile             |  3 ---
 drivers/gpu/drm/vc4/Makefile             |  2 --
 drivers/gpu/drm/vc4/vc4_crtc.c           | 14 +++++++-------
 drivers/gpu/drm/vc4/vc4_dpi.c            | 16 ++++++++--------
 drivers/gpu/drm/vc4/vc4_drv.c            |  2 +-
 drivers/gpu/drm/vc4/vc4_drv.h            |  6 ++----
 drivers/gpu/drm/vc4/vc4_dsi.c            | 28 ++++++++++++++--------------
 drivers/gpu/drm/vc4/vc4_hdmi.c           | 30 +++++++++++++++---------------
 drivers/gpu/drm/vc4/vc4_hvs.c            |  2 +-
 drivers/gpu/drm/vc4/vc4_kms.c            | 12 ++++++------
 drivers/gpu/drm/vc4/vc4_plane.c          |  9 +++++----
 drivers/gpu/drm/vc4/vc4_v3d.c            |  6 +++---
 drivers/gpu/drm/vgem/Makefile            |  1 -
 drivers/gpu/drm/via/Makefile             |  1 -
 drivers/gpu/drm/virtio/Makefile          |  2 --
 drivers/gpu/drm/virtio/virtgpu_debugfs.c |  2 +-
 drivers/gpu/drm/virtio/virtgpu_drv.c     |  4 ++--
 drivers/gpu/drm/virtio/virtgpu_drv.h     |  8 ++++----
 drivers/gpu/drm/virtio/virtgpu_ioctl.c   |  5 +++--
 drivers/gpu/drm/virtio/virtgpu_ttm.c     | 10 +++++-----
 drivers/gpu/drm/vmwgfx/Makefile          |  3 ---
 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c   |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_context.c  |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c  |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c      |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c   |  3 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c  |  3 ++-
 37 files changed, 88 insertions(+), 107 deletions(-)

-- 
2.7.4



More information about the dri-devel mailing list