diff options
| author | Heiko Schocher <[email protected]> | 2015-10-22 06:19:22 +0200 |
|---|---|---|
| committer | Heiko Schocher <[email protected]> | 2015-10-26 09:22:50 +0100 |
| commit | 248f260cbd23f1a5f5d7a9aebdf2bd8253e0d04b (patch) | |
| tree | 29a58f7aba0361dd5c8480a2837f819af2b9ec33 | |
| parent | 0195a7bb36a0abc71145da419001377bf56662fd (diff) | |
UBI: Fastmap: Fix PEB array type
The PEB array is an array of __be32, so let's fix the
scan_pool() prototype accordingly.
Signed-off-by: Ezequiel Garcia <[email protected]>
Signed-off-by: Heiko Schocher <[email protected]>
| -rw-r--r-- | drivers/mtd/ubi/fastmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/fastmap.c b/drivers/mtd/ubi/fastmap.c index 48ba98a6b55..f824ec8b293 100644 --- a/drivers/mtd/ubi/fastmap.c +++ b/drivers/mtd/ubi/fastmap.c @@ -453,11 +453,11 @@ static void unmap_peb(struct ubi_attach_info *ai, int pnum) */ #ifndef __UBOOT__ static int scan_pool(struct ubi_device *ubi, struct ubi_attach_info *ai, - int *pebs, int pool_size, unsigned long long *max_sqnum, + __be32 *pebs, int pool_size, unsigned long long *max_sqnum, struct list_head *free) #else static int scan_pool(struct ubi_device *ubi, struct ubi_attach_info *ai, - int *pebs, int pool_size, unsigned long long *max_sqnum, + __be32 *pebs, int pool_size, unsigned long long *max_sqnum, struct list_head *free) #endif { |
