]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: intel: Add 'intel' prefix to the modules automatically
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 16 Oct 2024 10:59:51 +0000 (13:59 +0300)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 31 Oct 2024 09:42:24 +0000 (11:42 +0200)
commitdf7f9acd8646bfad565e6d68a293ec0d8e3f2108
treedf14e112edca778fbb7b3cbcaa29ef87e43da175
parentf164dd0bf4c674bd3ae8cfc119f3cb03f09f9aef
platform/x86: intel: Add 'intel' prefix to the modules automatically

Rework Makefile to add 'intel' prefix to the modules automatically.
This removes a lot of boilerplate code in it and also makes robust
against mistypos in the prefix.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20241016105950.785820-2-andriy.shevchenko@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/Makefile
drivers/platform/x86/intel/plr_tpmi.c [moved from drivers/platform/x86/intel/intel_plr_tpmi.c with 100% similarity]
drivers/platform/x86/intel/vsec_tpmi.c [moved from drivers/platform/x86/intel/tpmi.c with 99% similarity]