diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-18 13:27:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-18 13:27:24 -0400 |
commit | cdf4a6482dd4c739f8c1132c5a9356912911fec5 (patch) | |
tree | fa7b67c8ef5723d88cdc400f90a9b6e927e159a5 /drivers/mtd/ubi/ubi.h | |
parent | 485cf925d8b7a6b3c62fe5f1e167f2d0d4edf32a (diff) | |
parent | add0b43ca67bf281ef7ac8ab47e9ee7b2d97a69f (diff) |
Merge branch 'upstream' of git://git.infradead.org/~dedekind/ubi-2.6
* 'upstream' of git://git.infradead.org/~dedekind/ubi-2.6: (28 commits)
UBI: fix compile warning
UBI: fix error handling in erase worker
UBI: fix comments
UBI: remove unneeded error checks
UBI: cleanup usage of try_module_get
UBI: fix overflow bug
UBI: bugfix in max_sqnum calculation
UBI: bugfix in sqnum calculation
UBI: fix signed-unsigned multiplication
UBI: fix bug in atomic_leb_change()
UBI: fix message
UBI: fix debugging stuff
UBI: bugfix in error path
UBI: use is_power_of_2()
UBI: fix freeing ubi->vtbl while unloading
UBI: fix MAINTAINERS
UBI: bugfix in ubi_leb_change()
UBI: kill homegrown endian macros
UBI: cleanup ioctl handling
UBI: error path bugfix
...
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r-- | drivers/mtd/ubi/ubi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index feb647f108f0..5959f91be240 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h | |||
@@ -35,6 +35,7 @@ | |||
35 | #include <linux/cdev.h> | 35 | #include <linux/cdev.h> |
36 | #include <linux/device.h> | 36 | #include <linux/device.h> |
37 | #include <linux/string.h> | 37 | #include <linux/string.h> |
38 | #include <linux/vmalloc.h> | ||
38 | #include <linux/mtd/mtd.h> | 39 | #include <linux/mtd/mtd.h> |
39 | 40 | ||
40 | #include <mtd/ubi-header.h> | 41 | #include <mtd/ubi-header.h> |
@@ -374,9 +375,11 @@ void ubi_calculate_reserved(struct ubi_device *ubi); | |||
374 | #ifdef CONFIG_MTD_UBI_GLUEBI | 375 | #ifdef CONFIG_MTD_UBI_GLUEBI |
375 | int ubi_create_gluebi(struct ubi_device *ubi, struct ubi_volume *vol); | 376 | int ubi_create_gluebi(struct ubi_device *ubi, struct ubi_volume *vol); |
376 | int ubi_destroy_gluebi(struct ubi_volume *vol); | 377 | int ubi_destroy_gluebi(struct ubi_volume *vol); |
378 | void ubi_gluebi_updated(struct ubi_volume *vol); | ||
377 | #else | 379 | #else |
378 | #define ubi_create_gluebi(ubi, vol) 0 | 380 | #define ubi_create_gluebi(ubi, vol) 0 |
379 | #define ubi_destroy_gluebi(vol) 0 | 381 | #define ubi_destroy_gluebi(vol) 0 |
382 | #define ubi_gluebi_updated(vol) | ||
380 | #endif | 383 | #endif |
381 | 384 | ||
382 | /* eba.c */ | 385 | /* eba.c */ |