diff options
author | Olaf Hering <olaf@aepfle.de> | 2007-02-10 21:35:12 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-02-13 05:35:52 +0100 |
commit | 872758563d7f132d25fc06857bd19df06c5c70c7 (patch) | |
tree | af3b813f7e3e0ebd372ac4dfb4a2d865a8ef27e4 /drivers/macintosh/via-macii.c | |
parent | [POWERPC] Virtual DMA support for floppy driver for new powerpc architecture (diff) | |
download | linux-872758563d7f132d25fc06857bd19df06c5c70c7.tar.xz linux-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.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/macintosh/via-macii.c b/drivers/macintosh/via-macii.c index 5d88d5b0ad99..175b3e56e375 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) */ |