mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
firmware: move firmware loader into its own directory
This will make it much easier to manage as we manage to keep trimming componnents down into their own files to more easily manage and maintain this codebase. Suggested-by: Kees Cook <keescook@chromium.org> Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d73f821c7a
commit
5d6d1ddd27
29
drivers/base/firmware_loader/fallback_table.c
Normal file
29
drivers/base/firmware_loader/fallback_table.c
Normal file
@@ -0,0 +1,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 "fallback.h"
|
||||
#include "firmware.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
|
||||
Reference in New Issue
Block a user