two trivial PCMCIA patches [Was: three trivial PCMCIA patches]

Dominik Brodowski linux at brodo.de
Fri Apr 18 09:54:52 BST 2003


Hi Russell,

As you already pushed the cardbus_lockups patch, could you please push the
other two changes to Linus, too?

	Dominik

On Wed, Apr 16, 2003 at 12:30:18AM +0200, Dominik Brodowski wrote:
> Hi Russell,
> 
> Could you please merge them into the pcmcia-bk-tree and push them Linus-ward
> soon? All three are really trivial.
> 
> 1.) cardmgr_compile 
> 2.) cardbus_lockups
> 3.) remove_unused_files
> 
> 	Dominik
-------------- next part --------------
[PCMCIA] Fix compilation of cardmgr [Pavel Roskin]

>From Pavel Roskin

"ds.h should not be including linux/device.h when compiling userspace
code."

diff -ruN linux-original/include/pcmcia/ds.h linux/include/pcmcia/ds.h
--- linux-original/include/pcmcia/ds.h	2003-04-15 23:57:37.000000000 +0200
+++ linux/include/pcmcia/ds.h	2003-04-16 00:04:32.000000000 +0200
@@ -31,7 +31,6 @@
 #define _LINUX_DS_H
 
 #include <pcmcia/bulkmem.h>
-#include <linux/device.h>
 #include <pcmcia/cs_types.h>
 
 typedef struct tuple_parse_t {
@@ -107,6 +106,7 @@
 #define DS_BIND_MTD			_IOWR('d', 64, mtd_info_t)
 
 #ifdef __KERNEL__
+#include <linux/device.h>
 
 typedef struct dev_node_t {
     char		dev_name[DEV_NAME_LEN];
-------------- next part --------------
[PCMCIA] remove unused files [Christoph Hellwig]

>From Christoph Hellwig

There's no need to keep the stubs around.

diff -ruN linux-original/drivers/net/wireless/orinoco_cs.c linux/drivers/net/wireless/orinoco_cs.c
--- linux-original/drivers/net/wireless/orinoco_cs.c	2003-04-15 23:57:34.000000000 +0200
+++ linux/drivers/net/wireless/orinoco_cs.c	2003-04-16 00:14:34.000000000 +0200
@@ -35,7 +35,6 @@
 #include <pcmcia/cistpl.h>
 #include <pcmcia/cisreg.h>
 #include <pcmcia/ds.h>
-#include <pcmcia/bus_ops.h>
 
 #include <asm/uaccess.h>
 #include <asm/io.h>
diff -ruN linux-original/include/pcmcia/bus_ops.h linux/include/pcmcia/bus_ops.h
--- linux-original/include/pcmcia/bus_ops.h	2003-04-15 23:57:37.000000000 +0200
+++ linux/include/pcmcia/bus_ops.h	2003-04-16 00:14:34.000000000 +0200
@@ -1,2 +0,0 @@
-/* now empty */
-#warning please remove the reference to this file
diff -ruN linux-original/include/pcmcia/driver_ops.h linux/include/pcmcia/driver_ops.h
--- linux-original/include/pcmcia/driver_ops.h	2003-04-15 23:57:37.000000000 +0200
+++ linux/include/pcmcia/driver_ops.h	2003-04-16 00:14:34.000000000 +0200
@@ -1,2 +0,0 @@
-/* now empty */
-#warning please remove the reference to this file


More information about the linux-pcmcia mailing list