diff options
Diffstat (limited to 'drivers/fpga/socfpga.c')
-rw-r--r-- | drivers/fpga/socfpga.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/fpga/socfpga.c b/drivers/fpga/socfpga.c index 27d2ff28132c..b6672e66cda6 100644 --- a/drivers/fpga/socfpga.c +++ b/drivers/fpga/socfpga.c | |||
@@ -407,13 +407,14 @@ static int socfpga_fpga_reset(struct fpga_manager *mgr) | |||
407 | /* | 407 | /* |
408 | * Prepare the FPGA to receive the configuration data. | 408 | * Prepare the FPGA to receive the configuration data. |
409 | */ | 409 | */ |
410 | static int socfpga_fpga_ops_configure_init(struct fpga_manager *mgr, u32 flags, | 410 | static int socfpga_fpga_ops_configure_init(struct fpga_manager *mgr, |
411 | struct fpga_image_info *info, | ||
411 | const char *buf, size_t count) | 412 | const char *buf, size_t count) |
412 | { | 413 | { |
413 | struct socfpga_fpga_priv *priv = mgr->priv; | 414 | struct socfpga_fpga_priv *priv = mgr->priv; |
414 | int ret; | 415 | int ret; |
415 | 416 | ||
416 | if (flags & FPGA_MGR_PARTIAL_RECONFIG) { | 417 | if (info->flags & FPGA_MGR_PARTIAL_RECONFIG) { |
417 | dev_err(&mgr->dev, "Partial reconfiguration not supported.\n"); | 418 | dev_err(&mgr->dev, "Partial reconfiguration not supported.\n"); |
418 | return -EINVAL; | 419 | return -EINVAL; |
419 | } | 420 | } |
@@ -478,7 +479,7 @@ static int socfpga_fpga_ops_configure_write(struct fpga_manager *mgr, | |||
478 | } | 479 | } |
479 | 480 | ||
480 | static int socfpga_fpga_ops_configure_complete(struct fpga_manager *mgr, | 481 | static int socfpga_fpga_ops_configure_complete(struct fpga_manager *mgr, |
481 | u32 flags) | 482 | struct fpga_image_info *info) |
482 | { | 483 | { |
483 | struct socfpga_fpga_priv *priv = mgr->priv; | 484 | struct socfpga_fpga_priv *priv = mgr->priv; |
484 | u32 status; | 485 | u32 status; |