Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27775
b: refs/heads/master
c: 0d4e30d
h: refs/heads/master
i:
  27773: 1dbb3d0
  27771: ed7ea5f
  27767: 31c4e50
  27759: c6e3acd
  27743: c800369
  27711: 7666cfa
  27647: d1f4bd0
v: v3
  • Loading branch information
David Woodhouse committed May 14, 2006
1 parent 33a7f1a commit c068fc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 2f206701ae9b5c13719c2be26121b9461f05f87c
refs/heads/master: 0d4e30d26a279f1b6a008a233a6835ad2af571e4
8 changes: 2 additions & 6 deletions trunk/include/linux/mtd/physmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
*/

#ifndef __LINUX_MTD_PHYSMAP__

#include <linux/config.h>

#if defined(CONFIG_MTD_PHYSMAP)
#define __LINUX_MTD_PHYSMAP__

#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
Expand All @@ -37,7 +34,7 @@ struct physmap_flash_data {
void physmap_configure(unsigned long addr, unsigned long size,
int bankwidth, void (*set_vpp)(struct map_info *, int) );

#if defined(CONFIG_MTD_PARTITIONS)
#ifdef CONFIG_MTD_PARTITIONS

/*
* Machines that wish to do flash partition may want to call this function in
Expand All @@ -51,6 +48,5 @@ void physmap_configure(unsigned long addr, unsigned long size,
void physmap_set_partitions(struct mtd_partition *parts, int num_parts);

#endif /* defined(CONFIG_MTD_PARTITIONS) */
#endif /* defined(CONFIG_MTD) */

#endif /* __LINUX_MTD_PHYSMAP__ */

0 comments on commit c068fc7

Please sign in to comment.