aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/ubi.h
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@gmail.com>2010-04-13 16:30:12 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-05-03 02:08:13 -0400
commit70d38b9625edba52a809308427f78831c3963f52 (patch)
treeef5e519bd672c4ec2a80b7a78adfb66251a1193c /drivers/mtd/ubi/ubi.h
parent01bf0b64579ead8a82e7cfc32ae44bc667e7ad0f (diff)
UBI: remove reboot notifier
The UBI reboot notifier causes problems with hibernation. Move this functionality into the low-level MTD driver instead. Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r--drivers/mtd/ubi/ubi.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h
index 5176d4886518..a637f0283add 100644
--- a/drivers/mtd/ubi/ubi.h
+++ b/drivers/mtd/ubi/ubi.h
@@ -350,7 +350,6 @@ struct ubi_wl_entry;
350 * @bgt_thread: background thread description object 350 * @bgt_thread: background thread description object
351 * @thread_enabled: if the background thread is enabled 351 * @thread_enabled: if the background thread is enabled
352 * @bgt_name: background thread name 352 * @bgt_name: background thread name
353 * @reboot_notifier: notifier to terminate background thread before rebooting
354 * 353 *
355 * @flash_size: underlying MTD device size (in bytes) 354 * @flash_size: underlying MTD device size (in bytes)
356 * @peb_count: count of physical eraseblocks on the MTD device 355 * @peb_count: count of physical eraseblocks on the MTD device
@@ -436,7 +435,6 @@ struct ubi_device {
436 struct task_struct *bgt_thread; 435 struct task_struct *bgt_thread;
437 int thread_enabled; 436 int thread_enabled;
438 char bgt_name[sizeof(UBI_BGT_NAME_PATTERN)+2]; 437 char bgt_name[sizeof(UBI_BGT_NAME_PATTERN)+2];
439 struct notifier_block reboot_notifier;
440 438
441 /* I/O sub-system's stuff */ 439 /* I/O sub-system's stuff */
442 long long flash_size; 440 long long flash_size;