Commit 01f9c8b0 authored by Christopher Hoover's avatar Christopher Hoover Committed by Russell King

[ARM PATCH] 1133/1: Small fixes for BadgePAD 4 pcmcia support.


- default CF Vcc is 3.3V (33).
- add headers to make 2.5 happy
- remove unused static

Please apply to 2.4. and 2.5.

Christopher Hoover
mailto:ch@murgatroid.com
mailto:ch@hpl.hp.com
parent 5e8a4a7d
...@@ -14,6 +14,8 @@ ...@@ -14,6 +14,8 @@
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/init.h> #include <linux/init.h>
#include <asm/hardware.h> #include <asm/hardware.h>
...@@ -56,7 +58,7 @@ ...@@ -56,7 +58,7 @@
static int badge4_pcmvcc = 50; static int badge4_pcmvcc = 50;
static int badge4_pcmvpp = 50; static int badge4_pcmvpp = 50;
static int badge4_cfvcc = 0; static int badge4_cfvcc = 33;
static int badge4_pcmcia_init(struct pcmcia_init *init) static int badge4_pcmcia_init(struct pcmcia_init *init)
{ {
...@@ -91,8 +93,6 @@ static void complain_about_jumpering(const char *whom, ...@@ -91,8 +93,6 @@ static void complain_about_jumpering(const char *whom,
given / 10, given % 10); given / 10, given % 10);
} }
static unsigned badge4_need_5V_bitmap = 0;
static int static int
badge4_pcmcia_configure_socket(const struct pcmcia_configure *conf) badge4_pcmcia_configure_socket(const struct pcmcia_configure *conf)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment