Re: [2.6 patch] drivers/macintosh/: possible cleanups

From: Stephen Rothwell
Date: Mon Jun 09 2008 - 20:21:47 EST


Hi Adrian,

On Tue, 10 Jun 2008 01:23:12 +0300 Adrian Bunk <bunk@xxxxxxxxxx> wrote:
>
> +++ b/drivers/macintosh/adbhid.c
> @@ -75,7 +75,7 @@ static struct notifier_block adbhid_adb_notifier = {
> #define ADB_KEY_POWER_OLD 0x7e
> #define ADB_KEY_POWER 0x7f
>
> -u16 adb_to_linux_keycodes[128] = {
> +static u16 adb_to_linux_keycodes[128] = {

This could be const as well.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature