[PATCH 6/3] obsole pcmica/memory.h

Dominik Brodowski linux at dominikbrodowski.de
Thu Mar 25 21:11:39 GMT 2004


#include <pcmcia/memory.h> cannot be found anywhere in the Linux kernel
source, so mark it OBSOLETE

 include/pcmcia/memory.h |    4 ++++
 1 files changed, 4 insertions(+)

diff -ruN linux-original/include/pcmcia/memory.h linux/include/pcmcia/memory.h
--- linux-original/include/pcmcia/memory.h	2004-03-25 18:10:15.000000000 +0100
+++ linux/include/pcmcia/memory.h	2004-03-25 21:05:50.183691704 +0100
@@ -30,6 +30,8 @@
 #ifndef _LINUX_MEMORY_H
 #define _LINUX_MEMORY_H
 
+#ifdef CONFIG_PCMCIA_OBSOLETE
+
 typedef struct erase_info_t {
     u_long	Offset;
     u_long	Size;
@@ -38,4 +40,6 @@
 #define MEMGETINFO		_IOR('M', 1, region_info_t)
 #define MEMERASE		_IOW('M', 2, erase_info_t)
 
+#endif
+
 #endif /* _LINUX_MEMORY_H */



More information about the linux-pcmcia mailing list