mtd_blkdevs.c (8f026f75accb8c9f1179a4b57a5019af36471046) | mtd_blkdevs.c (356d70f19d949a11320ab626037b2d197a8e8b51) |
---|---|
1/* 2 * $Id: mtd_blkdevs.c,v 1.27 2005/11/07 11:14:20 gleixner Exp $ 3 * 4 * (C) 2003 David Woodhouse <dwmw2@infradead.org> 5 * 6 * Interface to Linux 2.5 block layer for MTD 'translation layers'. 7 * 8 */ --- 9 unchanged lines hidden (view full) --- 18#include <linux/blkpg.h> 19#include <linux/spinlock.h> 20#include <linux/hdreg.h> 21#include <linux/init.h> 22#include <linux/mutex.h> 23#include <linux/kthread.h> 24#include <asm/uaccess.h> 25 | 1/* 2 * $Id: mtd_blkdevs.c,v 1.27 2005/11/07 11:14:20 gleixner Exp $ 3 * 4 * (C) 2003 David Woodhouse <dwmw2@infradead.org> 5 * 6 * Interface to Linux 2.5 block layer for MTD 'translation layers'. 7 * 8 */ --- 9 unchanged lines hidden (view full) --- 18#include <linux/blkpg.h> 19#include <linux/spinlock.h> 20#include <linux/hdreg.h> 21#include <linux/init.h> 22#include <linux/mutex.h> 23#include <linux/kthread.h> 24#include <asm/uaccess.h> 25 |
26#include "mtdcore.h" 27 |
|
26static LIST_HEAD(blktrans_majors); 27 | 28static LIST_HEAD(blktrans_majors); 29 |
28extern struct mutex mtd_table_mutex; 29extern struct mtd_info *mtd_table[]; 30 | |
31struct mtd_blkcore_priv { 32 struct task_struct *thread; 33 struct request_queue *rq; 34 spinlock_t queue_lock; 35}; 36 37static int do_blktrans_request(struct mtd_blktrans_ops *tr, 38 struct mtd_blktrans_dev *dev, --- 414 unchanged lines hidden --- | 30struct mtd_blkcore_priv { 31 struct task_struct *thread; 32 struct request_queue *rq; 33 spinlock_t queue_lock; 34}; 35 36static int do_blktrans_request(struct mtd_blktrans_ops *tr, 37 struct mtd_blktrans_dev *dev, --- 414 unchanged lines hidden --- |