From 4ef80c1c1586b521bad77d5636e212e09e24573a Mon Sep 17 00:00:00 2001 From: "Martin T. H. Sandsmark" Date: Mon, 24 Apr 2017 18:53:11 +0200 Subject: [PATCH] epdc_setup: fix build without epdc stuff --- board/reMarkable/zero-gravitas/epdc_setup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/reMarkable/zero-gravitas/epdc_setup.c b/board/reMarkable/zero-gravitas/epdc_setup.c index 2ac18e3b69..40387a5a77 100644 --- a/board/reMarkable/zero-gravitas/epdc_setup.c +++ b/board/reMarkable/zero-gravitas/epdc_setup.c @@ -8,6 +8,7 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#ifdef CONFIG_WAVEFORM_BUF_SIZE #include #include #include @@ -116,3 +117,4 @@ int board_setup_waveform_file(ulong waveform_buf) return 0; } +#endif