diff options
Diffstat (limited to 'src/interface/efi')
| -rw-r--r-- | src/interface/efi/efi_fdt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interface/efi/efi_fdt.c b/src/interface/efi/efi_fdt.c index 4a10236a0..1e0d4b8b7 100644 --- a/src/interface/efi/efi_fdt.c +++ b/src/interface/efi/efi_fdt.c @@ -107,13 +107,14 @@ static struct fdt_header *efi_fdt_installed; /** * Install EFI Flattened Device Tree table * + * @v cmdline Command line, or NULL * @ret rc Return status code */ -int efi_fdt_install ( void ) { +int efi_fdt_install ( const char *cmdline ) { int rc; /* Create device tree */ - if ( ( rc = fdt_create ( &efi_fdt_installed ) ) != 0 ) { + if ( ( rc = fdt_create ( &efi_fdt_installed, cmdline ) ) != 0 ) { DBGC ( &efi_fdt, "EFI_FDT could not install: %s\n", strerror ( rc ) ); goto err_create; |
