Patchwork [U-Boot,v2,2/7] fpga: Fix debug message compilation error

login
register
mail settings
Submitter Michal Simek
Date May 1, 2013, 8:59 a.m.
Message ID <5dd8eef77dab4c31d03fb88703e912539da83ade.1367398749.git.michal.simek@xilinx.com>
Download mbox | patch
Permalink /patch/240747/
State Superseded
Headers show

Comments

Michal Simek - May 1, 2013, 8:59 a.m.
CONFIG_FPGA in past was a bitfield where bits
were use for vendor identification.

This fix should be the part of this commit:
"Improve configuration of FPGA subsystem"
(sha1: 0133502e39ff89b67c26cb4015e0e7e8d9571184)

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
Changes in v2:
- Fix grammer in the commit message

 drivers/fpga/fpga.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
1.8.2.1

Patch

diff --git a/drivers/fpga/fpga.c b/drivers/fpga/fpga.c
index ddebd49..43bdf4f 100644
--- a/drivers/fpga/fpga.c
+++ b/drivers/fpga/fpga.c
@@ -145,7 +145,7 @@  void fpga_init(void)
 	next_desc = 0;
 	memset(desc_table, 0, sizeof(desc_table));

-	debug("%s: CONFIG_FPGA = 0x%x\n", __func__, CONFIG_FPGA);
+	debug("%s\n", __func__);
 }

 /*