forked from Mirrors/opensbi
include: sbi: Remove extid parameter from vendor_ext_provider() callback
The extid parameter of vendor_ext_provider() is redundant so let us remove it. Signed-off-by: Anup Patel <apatel@ventanamicro.com>
This commit is contained in:
@@ -27,7 +27,7 @@ struct platform_override {
|
||||
int (*extensions_init)(const struct fdt_match *match,
|
||||
struct sbi_hart_features *hfeatures);
|
||||
void (*fw_init)(void *fdt, const struct fdt_match *match);
|
||||
int (*vendor_ext_provider)(long extid, long funcid,
|
||||
int (*vendor_ext_provider)(long funcid,
|
||||
const struct sbi_trap_regs *regs,
|
||||
unsigned long *out_value,
|
||||
struct sbi_trap_info *out_trap,
|
||||
|
@@ -186,12 +186,12 @@ static bool generic_vendor_ext_check(void)
|
||||
true : false;
|
||||
}
|
||||
|
||||
static int generic_vendor_ext_provider(long extid, long funcid,
|
||||
static int generic_vendor_ext_provider(long funcid,
|
||||
const struct sbi_trap_regs *regs,
|
||||
unsigned long *out_value,
|
||||
struct sbi_trap_info *out_trap)
|
||||
{
|
||||
return generic_plat->vendor_ext_provider(extid, funcid, regs,
|
||||
return generic_plat->vendor_ext_provider(funcid, regs,
|
||||
out_value, out_trap,
|
||||
generic_plat_match);
|
||||
}
|
||||
|
Reference in New Issue
Block a user