|
|
@ -32,8 +32,6 @@ |
|
|
|
#include <linux/stat.h> |
|
|
|
#include <linux/stat.h> |
|
|
|
#include <linux/time.h> |
|
|
|
#include <linux/time.h> |
|
|
|
|
|
|
|
|
|
|
|
#if defined(CONFIG_CMD_FAT) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Supported filesystems */ |
|
|
|
/* Supported filesystems */ |
|
|
|
static const struct filesystem filesystems[] = { |
|
|
|
static const struct filesystem filesystems[] = { |
|
|
|
{ file_fat_detectfs, file_fat_ls, file_fat_read, "FAT" }, |
|
|
|
{ file_fat_detectfs, file_fat_ls, file_fat_read, "FAT" }, |
|
|
@ -204,5 +202,3 @@ file_read(const char *filename, void *buffer, unsigned long maxsize) |
|
|
|
|
|
|
|
|
|
|
|
return filesystems[current_filesystem].read(arg, buffer, maxsize); |
|
|
|
return filesystems[current_filesystem].read(arg, buffer, maxsize); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|