diff options
author | William Wilgus <me.theuser@yahoo.com> | 2019-12-30 23:32:23 -0600 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2019-12-30 23:41:46 -0600 |
commit | 8794b95a725c7e9b567e192a1fbceeff1edf0e1a (patch) | |
tree | 4d7f06c53b4264d3c2c8f7de25f5393101d7ad28 /firmware/target/arm/as3525/sd-as3525.c | |
parent | 9f336217c28dd16daeafc05e5019db0e0dd5c350 (diff) | |
download | rockbox-8794b95a725c7e9b567e192a1fbceeff1edf0e1a.tar.gz rockbox-8794b95a725c7e9b567e192a1fbceeff1edf0e1a.zip |
Fix As3525 SD unused parameter warning
Change-Id: I0a4bbcf94e9cadf43a822c1cb2f2dad3bd4f7588
Diffstat (limited to 'firmware/target/arm/as3525/sd-as3525.c')
-rw-r--r-- | firmware/target/arm/as3525/sd-as3525.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525.c b/firmware/target/arm/as3525/sd-as3525.c index 86286fa985..70e0778d2b 100644 --- a/firmware/target/arm/as3525/sd-as3525.c +++ b/firmware/target/arm/as3525/sd-as3525.c | |||
@@ -229,7 +229,9 @@ static void enable_controller(bool on, const int drive) | |||
229 | CGU_IDE &= ~(IDE_INTERFACE_CLK); /* interface disable */ | 229 | CGU_IDE &= ~(IDE_INTERFACE_CLK); /* interface disable */ |
230 | bitclr32(&CGU_PERI, CGU_NAF_CLOCK_ENABLE); | 230 | bitclr32(&CGU_PERI, CGU_NAF_CLOCK_ENABLE); |
231 | } | 231 | } |
232 | #endif | 232 | #else |
233 | (void) on; | ||
234 | #endif /* ndef BOOTLOADER */ | ||
233 | } | 235 | } |
234 | #if defined(HAVE_MULTIDRIVE) || defined(HAVE_HOTSWAP) | 236 | #if defined(HAVE_MULTIDRIVE) || defined(HAVE_HOTSWAP) |
235 | else | 237 | else |
@@ -1002,4 +1004,3 @@ int sd_event(long id, intptr_t data) | |||
1002 | 1004 | ||
1003 | return rc; | 1005 | return rc; |
1004 | } | 1006 | } |
1005 | |||