/* Register a file to be a destination of configuration.  */
int settings_file_dst(struct settings_file *cf)
/* Register a file to be a destination of configuration.  */
int settings_file_dst(struct settings_file *cf)
{
	if (!cf->cf_name) {
		return -EINVAL;
	}
	cf->cf_store.cs_itf = &settings_file_itf;
	settings_dst_register(&cf->cf_store);
	return 0;
}