xen/riscv: rename enum intc_version to intc_variant

Rename the enum to intc_variant and the structure member from hw_version
to hw_variant to better reflect that these values select between
different controller variants, not versions of the same one.

Requested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Oleksii Kurochko authored and Jan Beulich committed 2026-07-01 14:12:51 +02:00
1 parent 40e9347999
commit 3375b70058
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ static struct aplic_priv aplic = {
};
static struct intc_info __ro_after_init aplic_info = {
.hw_version = INTC_APLIC,
.hw_variant = INTC_APLIC,
};
static void __init aplic_init_hw_interrupts(void)
+2 -2
View File
@@ -10,7 +10,7 @@
struct dt_device_node;
enum intc_version {
enum intc_variant {
INTC_APLIC,
};
@@ -18,7 +18,7 @@ struct cpu_user_regs;
struct irq_desc;
struct intc_info {
enum intc_version hw_version;
enum intc_variant hw_variant;
const struct dt_device_node *node;
/* number of irqs */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.