Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68458
b: refs/heads/master
c: 356d70f
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks authored and David Woodhouse committed Jun 28, 2007
1 parent 57fa260 commit 1a4a719
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 029a9eb1f667ca71fe7eb3bf8962f01ac4d252a5
refs/heads/master: 356d70f19d949a11320ab626037b2d197a8e8b51
5 changes: 2 additions & 3 deletions trunk/drivers/mtd/mtd_blkdevs.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@
#include <linux/kthread.h>
#include <asm/uaccess.h>

static LIST_HEAD(blktrans_majors);
#include "mtdcore.h"

extern struct mutex mtd_table_mutex;
extern struct mtd_info *mtd_table[];
static LIST_HEAD(blktrans_majors);

struct mtd_blkcore_priv {
struct task_struct *thread;
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/mtd/mtdcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

#include <linux/mtd/mtd.h>

#include "mtdcore.h"

/* These are exported solely for the purpose of mtd_blkdevs.c. You
should not use them for _anything_ else */
DEFINE_MUTEX(mtd_table_mutex);
Expand Down
11 changes: 11 additions & 0 deletions trunk/drivers/mtd/mtdcore.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* linux/drivers/mtd/mtdcore.h
*
* Header file for driver private mtdcore exports
*
*/

/* These are exported solely for the purpose of mtd_blkdevs.c. You
should not use them for _anything_ else */

extern struct mutex mtd_table_mutex;
extern struct mtd_info *mtd_table[MAX_MTD_DEVICES];

0 comments on commit 1a4a719

Please sign in to comment.