summaryrefslogtreecommitdiff
path: root/yaffs_linux.h
diff options
context:
space:
mode:
authorCharles Manning <cdhmanning@gmail.com>2010-10-07 11:10:58 +1300
committerCharles Manning <cdhmanning@gmail.com>2010-10-07 11:14:38 +1300
commitf43976eda35065890e7cf0a008e9518158eb71d6 (patch)
treee19e6579100cf68632cb0981f277269e086c039e /yaffs_linux.h
parent70c6bf2ff57c8a2fb778accdd5b4227abf273674 (diff)
yaffs Make more symbol changes
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'yaffs_linux.h')
-rw-r--r--yaffs_linux.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/yaffs_linux.h b/yaffs_linux.h
index 5e08c07..19d7b82 100644
--- a/yaffs_linux.h
+++ b/yaffs_linux.h
@@ -21,7 +21,7 @@
struct yaffs_LinuxContext {
struct ylist_head contextList; /* List of these we have mounted */
- struct yaffs_DeviceStruct *dev;
+ struct yaffs_dev_s *dev;
struct super_block * superBlock;
struct task_struct *bgThread; /* Background thread for this device */
int bgRunning;
@@ -36,8 +36,8 @@ struct yaffs_LinuxContext {
unsigned mount_id;
};
-#define yaffs_dev_to_lc(dev) ((struct yaffs_LinuxContext *)((dev)->osContext))
-#define yaffs_dev_to_mtd(dev) ((struct mtd_info *)((dev)->driverContext))
+#define yaffs_dev_to_lc(dev) ((struct yaffs_LinuxContext *)((dev)->os_context))
+#define yaffs_dev_to_mtd(dev) ((struct mtd_info *)((dev)->driver_context))
#endif