diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-07-18 20:31:38 +0800 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-07-18 20:31:51 +0800 |
commit | 88618eb5f12c27be7bb4400eb13768e4c2822ae7 (patch) | |
tree | 4d8c3ceffada647a63162229459ba0e2aa0e48fb /include | |
parent | d5b96bdca994ab00de350fe698a7daa09292ab29 (diff) | |
download | barebox-88618eb5f12c27be7bb4400eb13768e4c2822ae7.tar.gz barebox-88618eb5f12c27be7bb4400eb13768e4c2822ae7.tar.xz |
mem: replace DEVFS_RDWR by IORESOURCE_MEM_WRITEABLE
we keep struct memory_platform_data for now on we will switch off the memories
resources to struct resource
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/driver.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/driver.h b/include/driver.h index 0fc254dbbc..05c399186b 100644 --- a/include/driver.h +++ b/include/driver.h @@ -344,7 +344,6 @@ int cdev_erase(struct cdev *cdev, size_t count, unsigned long offset); #define DEVFS_PARTITION_FIXED (1 << 0) #define DEVFS_PARTITION_READONLY (1 << 1) #define DEVFS_IS_PARTITION (1 << 2) -#define DEVFS_RDWR (1 << 3) int devfs_add_partition(const char *devname, unsigned long offset, size_t size, int flags, const char *name); |