aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/rsrc_nonstatic.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2005-06-27 19:28:15 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-27 21:03:08 -0400
commite94e15f70559962f60915a09d44658b73a453fe2 (patch)
tree0ce8fb08e276cfc93a65b82ded38c4c1a1c9169b /drivers/pcmcia/rsrc_nonstatic.c
parentdaa9517d9eccc3598b2b0cdfa0b016ae4a4fcdce (diff)
[PATCH] pcmcia: cleanups
From: Adrian Bunk <bunk@stusta.de> This patch contains the following cleanups: - make needlessly global code static - remove the following unneeded EXPORT_SYMBOL's: - ds.c: pcmcia_report_error - ds.c: pcmcia_bus_type Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/pcmcia/rsrc_nonstatic.c')
-rw-r--r--drivers/pcmcia/rsrc_nonstatic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pcmcia/rsrc_nonstatic.c b/drivers/pcmcia/rsrc_nonstatic.c
index 5876bab7c14c..9a0b835d612b 100644
--- a/drivers/pcmcia/rsrc_nonstatic.c
+++ b/drivers/pcmcia/rsrc_nonstatic.c
@@ -601,7 +601,7 @@ static int nonstatic_adjust_io_region(struct resource *res, unsigned long r_star
601 601
602======================================================================*/ 602======================================================================*/
603 603
604struct resource *nonstatic_find_io_region(unsigned long base, int num, 604static struct resource *nonstatic_find_io_region(unsigned long base, int num,
605 unsigned long align, struct pcmcia_socket *s) 605 unsigned long align, struct pcmcia_socket *s)
606{ 606{
607 struct resource *res = make_resource(0, num, IORESOURCE_IO, s->dev.class_id); 607 struct resource *res = make_resource(0, num, IORESOURCE_IO, s->dev.class_id);
@@ -635,8 +635,8 @@ struct resource *nonstatic_find_io_region(unsigned long base, int num,
635 return res; 635 return res;
636} 636}
637 637
638struct resource * nonstatic_find_mem_region(u_long base, u_long num, u_long align, 638static struct resource * nonstatic_find_mem_region(u_long base, u_long num,
639 int low, struct pcmcia_socket *s) 639 u_long align, int low, struct pcmcia_socket *s)
640{ 640{
641 struct resource *res = make_resource(0, num, IORESOURCE_MEM, s->dev.class_id); 641 struct resource *res = make_resource(0, num, IORESOURCE_MEM, s->dev.class_id);
642 struct socket_data *s_data = s->resource_data; 642 struct socket_data *s_data = s->resource_data;