summaryrefslogtreecommitdiff
path: root/drivers/macintosh/via-macii.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-macii.c
parent9ea8b7c96f64f68548976ba65062cee2f2b7d831 (diff)
downloadlinux-3.10-872758563d7f132d25fc06857bd19df06c5c70c7.tar.gz
linux-3.10-872758563d7f132d25fc06857bd19df06c5c70c7.tar.bz2
linux-3.10-872758563d7f132d25fc06857bd19df06c5c70c7.zip
[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-macii.c')
-rw-r--r--drivers/macintosh/via-macii.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/macintosh/via-macii.c b/drivers/macintosh/via-macii.c
index 5d88d5b0ad9..175b3e56e37 100644
--- a/drivers/macintosh/via-macii.c
+++ b/drivers/macintosh/via-macii.c
@@ -107,10 +107,10 @@ static enum macii_state {
awaiting_reply
} macii_state;
-static int need_poll = 0;
-static int command_byte = 0;
-static int last_reply = 0;
-static int last_active = 0;
+static int need_poll;
+static int command_byte;
+static int last_reply;
+static int last_active;
static struct adb_request *current_req;
static struct adb_request *last_req;
@@ -124,7 +124,7 @@ static int first_byte;
static int prefix_len;
static int status = ST_IDLE|TREQ;
static int last_status;
-static int driver_running = 0;
+static int driver_running;
/* debug level 10 required for ADB logging (should be && debug_adb, ideally) */