]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/ubi/fastmap.c
Merge git://git.denx.de/u-boot-net
[u-boot] / drivers / mtd / ubi / fastmap.c
index 48ba98a6b55b69b31c660a1e5e1b2c0084418df9..f824ec8b29363aa7c99832901df788dbdce6aa93 100644 (file)
@@ -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
 {