aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/ip2/ip2base.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-06-11 16:57:21 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 14:49:41 +0100
commit547d8bb7ddf7f5d9f53741086a394c8318e15f16 (patch)
tree0d5c0bd50701771a39496d7bdec0db4d10d067ff /drivers/char/ip2/ip2base.c
parent27d202fff1555f5b0eb16a5aedc452566f9ab8bb (diff)
ip2: use request_firmware()
Converted with help from Jaswinder Singh Signed-off-by: David Woodhouse <dwmw2@infradead.org> Acked-by: Alan Cox <alan@redhat.com>
Diffstat (limited to 'drivers/char/ip2/ip2base.c')
-rw-r--r--drivers/char/ip2/ip2base.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/char/ip2/ip2base.c b/drivers/char/ip2/ip2base.c
index 435ccfc7495..8155e247c04 100644
--- a/drivers/char/ip2/ip2base.c
+++ b/drivers/char/ip2/ip2base.c
@@ -21,10 +21,9 @@
#endif
#include "ip2types.h"
-#include "fip_firm.h" // the meat
int
-ip2_loadmain(int *, int *, unsigned char *, int ); // ref into ip2main.c
+ip2_loadmain(int *, int *); // ref into ip2main.c
/* Note: Add compiled in defaults to these arrays, not to the structure
in ip2.h any longer. That structure WILL get overridden
@@ -52,7 +51,7 @@ static int __init ip2_init(void)
irq[0] = irq[1] = irq[2] = irq[3] = 0;
}
- return ip2_loadmain(io,irq,(unsigned char *)fip_firm,sizeof(fip_firm));
+ return ip2_loadmain(io, irq);
}
module_init(ip2_init);