]> Git Repo - J-u-boot.git/commitdiff
dfu: export dfu_list
authorAKASHI Takahiro <[email protected]>
Thu, 29 Oct 2020 04:47:44 +0000 (13:47 +0900)
committerHeinrich Schuchardt <[email protected]>
Fri, 30 Oct 2020 13:20:27 +0000 (14:20 +0100)
This variable will be utilized to enumerate all dfu entities
for UEFI capsule firmware update in a later commit.

Signed-off-by: AKASHI Takahiro <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
drivers/dfu/dfu.c
include/dfu.h

index a298c2c43999bd0970ba3e7ac55bbb554a97a890..501a60b34400526b873293fc5c25bfe40124788b 100644 (file)
@@ -18,7 +18,7 @@
 #include <linux/list.h>
 #include <linux/compiler.h>
 
-static LIST_HEAD(dfu_list);
+LIST_HEAD(dfu_list);
 static int dfu_alt_num;
 static int alt_num_cnt;
 static struct hash_algo *dfu_hash_algo;
index d3d7e07b60d8076f44d907a32c9fe745d816346a..eaf4bfc0d5ed9732341dd4c3ca68481869102226 100644 (file)
@@ -158,6 +158,9 @@ struct dfu_entity {
        unsigned int inited:1;
 };
 
+struct list_head;
+extern struct list_head dfu_list;
+
 #ifdef CONFIG_SET_DFU_ALT_INFO
 /**
  * set_dfu_alt_info() - set dfu_alt_info environment variable
This page took 0.030615 seconds and 4 git commands to generate.