Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/ttm: make ttm_pool.h self-contained

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

+3 -2
+3 -2
include/drm/ttm/ttm_pool.h
··· 32 32 #include <drm/ttm/ttm_caching.h> 33 33 34 34 struct device; 35 - struct ttm_tt; 36 - struct ttm_pool; 35 + struct seq_file; 37 36 struct ttm_operation_ctx; 37 + struct ttm_pool; 38 + struct ttm_tt; 38 39 39 40 /** 40 41 * struct ttm_pool_type - Pool for a certain memory type