summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/via-maciisi.c
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2007-02-10 21:35:12 +0100
committerPaul Mackerras <paulus@samba.org>2007-02-13 15:35:52 +1100
commit872758563d7f132d25fc06857bd19df06c5c70c7 (patch)
treeaf3b813f7e3e0ebd372ac4dfb4a2d865a8ef27e4 /drivers/macintosh/via-maciisi.c
parent9ea8b7c96f64f68548976ba65062cee2f2b7d831 (diff)
downloadop-kernel-dev-872758563d7f132d25fc06857bd19df06c5c70c7.zip
op-kernel-dev-872758563d7f132d25fc06857bd19df06c5c70c7.tar.gz
[POWERPC] move variables in drivers/macintosh to bss
Move all the initialized variables to bss. Mark a version string as const. Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/macintosh/via-maciisi.c')
-rw-r--r--drivers/macintosh/via-maciisi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/macintosh/via-maciisi.c b/drivers/macintosh/via-maciisi.c
index 1f0aa5d..10051db 100644
--- a/drivers/macintosh/via-maciisi.c
+++ b/drivers/macintosh/via-maciisi.c
@@ -63,10 +63,10 @@ static volatile unsigned char *via;
#undef DEBUG_MACIISI_ADB
-static struct adb_request* current_req = NULL;
-static struct adb_request* last_req = NULL;
+static struct adb_request* current_req;
+static struct adb_request* last_req;
static unsigned char maciisi_rbuf[16];
-static unsigned char *reply_ptr = NULL;
+static unsigned char *reply_ptr;
static int data_index;
static int reading_reply;
static int reply_len;
OpenPOWER on IntegriCloud