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

Configure Feed

Select the types of activity you want to include in your feed.

char: misc: Move drivers/misc/misc_minor_kunit.c to drivers/char/

drivers/misc/misc_minor_kunit.c is to test APIs defined in
drivers/char/misc.c, but is not in the same directory as the later.

Move misc_minor_kunit.c to drivers/char/.

Signed-off-by: Zijun Hu <zijun.hu@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250714-rfc_miscdev-v6-1-2ed949665bde@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Zijun Hu and committed by
Greg Kroah-Hartman
8ac646d6 9e57dbcb

+1 -1
+1
drivers/char/Makefile
··· 6 6 obj-y += mem.o random.o 7 7 obj-$(CONFIG_TTY_PRINTK) += ttyprintk.o 8 8 obj-y += misc.o 9 + obj-$(CONFIG_TEST_MISC_MINOR) += misc_minor_kunit.o 9 10 obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o 10 11 obj-$(CONFIG_VIRTIO_CONSOLE) += virtio_console.o 11 12 obj-$(CONFIG_UV_MMTIMER) += uv_mmtimer.o
-1
drivers/misc/Makefile
··· 23 23 obj-$(CONFIG_SENSORS_APDS990X) += apds990x.o 24 24 obj-$(CONFIG_ENCLOSURE_SERVICES) += enclosure.o 25 25 obj-$(CONFIG_KGDB_TESTS) += kgdbts.o 26 - obj-$(CONFIG_TEST_MISC_MINOR) += misc_minor_kunit.o 27 26 obj-$(CONFIG_SGI_XP) += sgi-xp/ 28 27 obj-$(CONFIG_SGI_GRU) += sgi-gru/ 29 28 obj-$(CONFIG_SMPRO_ERRMON) += smpro-errmon.o
drivers/misc/misc_minor_kunit.c drivers/char/misc_minor_kunit.c