]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/mtd/partitions.h
[MTD] update internal API to support 64-bit device size
[net-next-2.6.git] / include / linux / mtd / partitions.h
index c92b4d439609feec0640b953fedc502fd9a8890d..164c7d78687d01d48c0598ed2fa761685c496358 100644 (file)
@@ -36,8 +36,8 @@
 
 struct mtd_partition {
        char *name;                     /* identifier string */
-       u_int32_t size;                 /* partition size */
-       u_int32_t offset;               /* offset within the master MTD space */
+       uint64_t size;                  /* partition size */
+       uint64_t offset;                /* offset within the master MTD space */
        u_int32_t mask_flags;           /* master MTD flags to mask out for this partition */
        struct nand_ecclayout *ecclayout;       /* out of band layout for this partition (NAND only)*/
        struct mtd_info **mtdp;         /* pointer to store the MTD object */