aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2017-06-01 10:01:11 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-06-08 16:02:06 +1000
commitb3b8f2672425510a4a70fc008030177b024dc38c (patch)
tree21ff31032e42794da1fbf4c2a473b8e67cf921ea
parentec89146b8945e5453bd25279fc1312c02ad11421 (diff)
downloadskiboot-b3b8f2672425510a4a70fc008030177b024dc38c.zip
skiboot-b3b8f2672425510a4a70fc008030177b024dc38c.tar.gz
skiboot-b3b8f2672425510a4a70fc008030177b024dc38c.tar.bz2
FSP/CONSOLE: Remove __unused attribute from fsp_console_read()
..as we use buffer to copy data. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--hw/fsp/fsp-console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/fsp/fsp-console.c b/hw/fsp/fsp-console.c
index 6683679..69c603a 100644
--- a/hw/fsp/fsp-console.c
+++ b/hw/fsp/fsp-console.c
@@ -640,7 +640,7 @@ static int64_t fsp_console_write_buffer_space(int64_t term_number,
}
static int64_t fsp_console_read(int64_t term_number, int64_t *length,
- uint8_t *buffer __unused)
+ uint8_t *buffer)
{
struct fsp_serial *fs;
struct fsp_serbuf_hdr *sb;