drm/ttm: make ttm_pool.h self-contained
authorJani Nikula <jani.nikula@intel.com>
Fri, 8 Mar 2024 11:55:51 +0000 (13:55 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 11 Mar 2024 09:47:06 +0000 (11:47 +0200)
struct seq_file needs a forward declaration in some configs. Sort the
forward declarations while at it.

Cc: Christian Koenig <christian.koenig@amd.com>
Cc: Huang Rui <ray.huang@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202403072259.EEC2Vf1X-lkp@intel.com/
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/b92373759bba305ddf8d24fdca345f195400e206.1709898638.git.jani.nikula@intel.com
include/drm/ttm/ttm_pool.h

index 4490d43c63e33b3b657567e1bd5e5c17e260f1c9..160d954a261ef4c22477d9a72dcf998d519a9cf6 100644 (file)
 #include <drm/ttm/ttm_caching.h>
 
 struct device;
-struct ttm_tt;
-struct ttm_pool;
+struct seq_file;
 struct ttm_operation_ctx;
+struct ttm_pool;
+struct ttm_tt;
 
 /**
  * struct ttm_pool_type - Pool for a certain memory type