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
This commit is contained in:
Michael Sparmann 2010-08-12 08:46:52 +00:00
parent 524035b772
commit 6b389305f6

View file

@ -31,10 +31,10 @@
#endif #endif
/* Pointer to an info structure regarding the flash type used */ /* 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 */ /* 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_init(void);
uint32_t ftl_read(uint32_t sector, uint32_t count, void* buffer); uint32_t ftl_read(uint32_t sector, uint32_t count, void* buffer);