include/linux/rv.h: remove redundant include file
authorAkhilesh Patil <akhilesh@ee.iitb.ac.in>
Mon, 11 Aug 2025 12:12:53 +0000 (17:42 +0530)
committerGabriele Monaco <gmonaco@redhat.com>
Mon, 15 Sep 2025 06:36:35 +0000 (08:36 +0200)
commit3afaff7a0ce97457c8ab46862f2c06603a89962e
treedc5971ac7d06bbe7c9e497ef2f26de77a40861dd
parentde090d1ccae1e191af4beb92964591c6e4f31f28
include/linux/rv.h: remove redundant include file

Remove redundant include <linux/types.h> to clean up the code.
Move all unique include files inside CONFIG_RV as they are only needed
when CONFIG_RV is enabled. Arrange include files alphabetically.

Fixes: 24cbfe18d55a ("rv: Merge struct rv_monitor_def into struct rv_monitor") [1]
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202507312017.oyD08TL5-lkp@intel.com/
Signed-off-by: Akhilesh Patil <akhilesh@ee.iitb.ac.in>
Reviewed-by: Gabriele Monaco <gmonaco@redhat.com>
Link: https://lore.kernel.org/r/aJneRbHGlNFg7lr9@bhairav-test.ee.iitb.ac.in
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
include/linux/rv.h