[PATCH] a few definitions move to au1000_xxs1500.c

Yoichi Yuasa yoichi_yuasa at tripeaks.co.jp
Thu Aug 16 09:42:16 EDT 2007


Only a few definitions is in xxs1500.h .
They can be move to au1000_xxs1500.c .

Signed-off-by: Yoichi Yuasa <yoichi_yuasa at tripeaks.co.jp>

diff -pruN -X mips/Documentation/dontdiff mips-orig/drivers/pcmcia/au1000_xxs1500.c mips/drivers/pcmcia/au1000_xxs1500.c
--- mips-orig/drivers/pcmcia/au1000_xxs1500.c	2007-08-04 16:18:36.294713000 +0900
+++ mips/drivers/pcmcia/au1000_xxs1500.c	2007-08-04 22:39:24.694169750 +0900
@@ -50,7 +50,10 @@
 
 #include <asm/au1000.h>
 #include <asm/au1000_pcmcia.h>
-#include <asm/xxs1500.h>
+
+#define PCMCIA_MAX_SOCK		0
+#define PCMCIA_NUM_SOCKS	PCMCIA_MAX_SOCK + 1)
+#define PCMCIA_IRQ		AU1000_GPIO_4
 
 #if 0
 #define DEBUG(x,args...)	printk(__FUNCTION__ ": " x,##args)
diff -pruN -X mips/Documentation/dontdiff mips-orig/include/asm-mips/xxs1500.h mips/include/asm-mips/xxs1500.h
--- mips-orig/include/asm-mips/xxs1500.h	2007-08-04 16:19:09.736803000 +0900
+++ mips/include/asm-mips/xxs1500.h	1970-01-01 09:00:00.000000000 +0900
@@ -1,35 +0,0 @@
-/*
- * MyCable XXS1500 Referrence Board
- *
- * Copyright 2003 MontaVista Software Inc.
- * Author: Pete Popov, MontaVista Software, Inc.
- *         	ppopov at mvista.com or source at mvista.com
- *
- * ########################################################################
- *
- *  This program is free software; you can distribute it and/or modify it
- *  under the terms of the GNU General Public License (Version 2) as
- *  published by the Free Software Foundation.
- *
- *  This program is distributed in the hope it will be useful, but WITHOUT
- *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- *  for more details.
- *
- *  You should have received a copy of the GNU General Public License along
- *  with this program; if not, write to the Free Software Foundation, Inc.,
- *  59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
- *
- * ########################################################################
- *
- *
- */
-#ifndef __ASM_XXS1500_H
-#define __ASM_XXS1500_H
-
-/* PCMCIA XXS1500 specific defines */
-#define PCMCIA_MAX_SOCK 0
-#define PCMCIA_NUM_SOCKS (PCMCIA_MAX_SOCK+1)
-#define PCMCIA_IRQ AU1000_GPIO_4
-
-#endif /* __ASM_XXS1500_ */




More information about the linux-pcmcia mailing list