mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
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 <ezequiel@vanguardiasur.com.ar> Signed-off-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
0195a7bb36
commit
248f260cbd
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue