summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2010-08-12 08:46:52 +0000
committerMichael Sparmann <theseven@rockbox.org>2010-08-12 08:46:52 +0000
commit6b389305f6999311283f93988e4f2f31344cae7b (patch)
tree422902e340024d99cb18c3faae79d4c5100e4a42
parent524035b77266e0dbacd4065c17e577edf2aa225f (diff)
downloadrockbox-6b389305f6999311283f93988e4f2f31344cae7b.tar.gz
rockbox-6b389305f6999311283f93988e4f2f31344cae7b.tar.bz2
rockbox-6b389305f6999311283f93988e4f2f31344cae7b.zip
emBIOS backports part two: Fix a stupid global variable *instantiation* in a header file, which might have caused all hell of trouble.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27781 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/s5l8700/ipodnano2g/ftl-target.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/s5l8700/ipodnano2g/ftl-target.h b/firmware/target/arm/s5l8700/ipodnano2g/ftl-target.h
index ad4dc04db1..96dc4d06fa 100644
--- a/firmware/target/arm/s5l8700/ipodnano2g/ftl-target.h
+++ b/firmware/target/arm/s5l8700/ipodnano2g/ftl-target.h
@@ -31,10 +31,10 @@
#endif
/* Pointer to an info structure regarding the flash type used */
-const struct nand_device_info_type* ftl_nand_type;
+extern const struct nand_device_info_type* ftl_nand_type;
/* Number of banks we detected a chip on */
-uint32_t ftl_banks;
+extern uint32_t ftl_banks;
uint32_t ftl_init(void);
uint32_t ftl_read(uint32_t sector, uint32_t count, void* buffer);