summaryrefslogtreecommitdiff
path: root/drivers/base/firmware_fallback_table.c
blob: 53cc4e4925206d50b07ec0501f6a128e62bc8a91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// SPDX-License-Identifier: GPL-2.0

#include <linux/types.h>
#include <linux/kconfig.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/security.h>
#include <linux/highmem.h>
#include <linux/umh.h>
#include <linux/sysctl.h>

#include "firmware_fallback.h"
#include "firmware_loader.h"

/*
 * firmware fallback configuration table
 */

/* Module or buit-in */
#ifdef CONFIG_FW_LOADER_USER_HELPER

struct firmware_fallback_config fw_fallback_config = {
	.force_sysfs_fallback = IS_ENABLED(CONFIG_FW_LOADER_USER_HELPER_FALLBACK),
	.loading_timeout = 60,
	.old_timeout = 60,
};
EXPORT_SYMBOL_GPL(fw_fallback_config);

#endif