From 5653fc335a450fa46d89989e1afe5e8bb9a0a52e Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 8 Feb 2004 22:55:38 +0000 Subject: * Patch by Yuli Barcohen, 26 Jan 2004: Allow bzip2 compression for small memory footprint boards * Patch by Brad Kemp, 21 Jan 2004: Add support for CFI flash driver for both the Intel and the AMD command sets. * Patch by Travis Sawyer, 20 Jan 2004: Fix pci bridge auto enumeration of sibling p2p bridges. * Patch by Tolunay Orkun, 12 Jan 2004: Add some delays as needed for Intel LXT971A PHY support * Patches by Stephan Linz, 09 Jan 2004: - avoid warning: unused variable `piop' in board/altera/common/sevenseg.c - make DK1C20 board configuration related to ASMI conform to documentation --- board/altera/common/sevenseg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'board/altera') diff --git a/board/altera/common/sevenseg.c b/board/altera/common/sevenseg.c index fecfbd3..c53cec1 100644 --- a/board/altera/common/sevenseg.c +++ b/board/altera/common/sevenseg.c @@ -44,7 +44,7 @@ static int sevenseg_init_done = 0; static inline void __sevenseg_set_masked (unsigned int mask, int value) { - nios_pio_t *piop = (nios_pio_t*)SEVENSEG_BASE; + nios_pio_t *piop __attribute__((unused)) = (nios_pio_t*)SEVENSEG_BASE; #ifdef SEVENSEG_WRONLY /* emulate read access */ @@ -97,7 +97,7 @@ static inline void __sevenseg_toggle_masked (unsigned int mask) static inline void __sevenseg_set (unsigned int value) { - nios_pio_t *piop = (nios_pio_t*)SEVENSEG_BASE; + nios_pio_t *piop __attribute__((unused)) = (nios_pio_t*)SEVENSEG_BASE; #ifdef SEVENSEG_WRONLY /* emulate read access */ @@ -126,7 +126,7 @@ static inline void __sevenseg_set (unsigned int value) static inline void __sevenseg_init (void) { - nios_pio_t *piop = (nios_pio_t*)SEVENSEG_BASE; + nios_pio_t *piop __attribute__((unused)) = (nios_pio_t*)SEVENSEG_BASE; __sevenseg_set(0); -- cgit v1.1