Signed-off-by: Michael Brown <mcb30@ipxe.org>
goto err_load;
/* Register settings */
- if ( ( rc = register_settings ( &nvo->settings, parent, "nvo" ) ) != 0 )
+ if ( ( rc = register_settings ( &nvo->settings, parent,
+ NVO_SETTINGS_NAME ) ) != 0 )
goto err_register;
DBGC ( nvo, "NVO %p registered\n", nvo );
struct dhcp_options dhcpopts;
};
+/** Name of non-volatile options settings block */
+#define NVO_SETTINGS_NAME "nvo"
+
extern void nvo_init ( struct nvo_block *nvo, struct nvs_device *nvs,
size_t address, size_t len,
int ( * resize ) ( struct nvo_block *nvo, size_t len ),