diff options
author | Steffen Trumtrar <s.trumtrar@pengutronix.de> | 2021-06-16 08:32:41 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-06-21 09:59:59 +0200 |
commit | dbb4bee0d34f8b157074fbb94542a7b9011a94d6 (patch) | |
tree | c095736b16409192a431b608caa8e196774a076b /include/firmware.h | |
parent | 70a3afa21fe5f4b7d912784465d750d75c18d912 (diff) | |
download | barebox-dbb4bee0d34f8b157074fbb94542a7b9011a94d6.tar.gz |
firmware: import fpga-mgr.h from linux
Instead of defining the fpga-mgr structure in the socfpga driver, import
the fpga-mgr.h file from linux v4.13.
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Link: https://lore.barebox.org/20210616063246.14900-5-s.trumtrar@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/firmware.h')
-rw-r--r-- | include/firmware.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/firmware.h b/include/firmware.h index 19777d9bf7..2fef97a48f 100644 --- a/include/firmware.h +++ b/include/firmware.h @@ -13,6 +13,7 @@ struct firmware_handler { char *id; /* unique identifier for this firmware device */ char *model; /* description for this device */ struct device_d *dev; + void *priv; /* called once to prepare the firmware's programming cycle */ int (*open)(struct firmware_handler*); /* called multiple times to program the firmware with the given data */ |