提交 8aba6c6e 编写于 作者: S Sandhya Bankar 提交者: Greg Kroah-Hartman

Staging: gs_fpgaboot: Fix alignment to match open parenthesis.

Fix alignment to match open parenthesis.
Signed-off-by: NSandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 de40f2ab
...@@ -201,7 +201,7 @@ static int gs_download_image(struct fpgaimage *fimage, enum wbus bus_bytes) ...@@ -201,7 +201,7 @@ static int gs_download_image(struct fpgaimage *fimage, enum wbus bus_bytes)
#endif /* DEBUG_FPGA */ #endif /* DEBUG_FPGA */
if (!xl_supported_prog_bus_width(bus_bytes)) { if (!xl_supported_prog_bus_width(bus_bytes)) {
pr_err("unsupported program bus width %d\n", pr_err("unsupported program bus width %d\n",
bus_bytes); bus_bytes);
return -1; return -1;
} }
...@@ -277,7 +277,7 @@ static int gs_set_download_method(struct fpgaimage *fimage) ...@@ -277,7 +277,7 @@ static int gs_set_download_method(struct fpgaimage *fimage)
static int init_driver(void) static int init_driver(void)
{ {
firmware_pdev = platform_device_register_simple("fpgaboot", -1, firmware_pdev = platform_device_register_simple("fpgaboot", -1,
NULL, 0); NULL, 0);
return PTR_ERR_OR_ZERO(firmware_pdev); return PTR_ERR_OR_ZERO(firmware_pdev);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册