From: Adrian Bunk <bunk@stusta.de>
To: acme@conectiva.com.br
Cc: Jeff Garzik <jgarzik@pobox.com>,
linux-kernel@vger.kernel.org, netdev@oss.sgi.com
Subject: [2.6 patch] drivers/net/appletalk/: make 2 firmware images static const
Date: Tue, 19 Apr 2005 04:36:50 +0200 [thread overview]
Message-ID: <20050419023650.GS5489@stusta.de> (raw)
This patch makes two needlessly global fimware images static const.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/net/appletalk/cops_ffdrv.h | 2 +-
drivers/net/appletalk/cops_ltdrv.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.12-rc2-mm3-full/drivers/net/appletalk/cops_ffdrv.h.old 2005-04-19 03:02:05.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/drivers/net/appletalk/cops_ffdrv.h 2005-04-19 03:02:15.000000000 +0200
@@ -28,7 +28,7 @@
#ifdef CONFIG_COPS_DAYNA
-unsigned char ffdrv_code[] = {
+static const unsigned char ffdrv_code[] = {
58,3,0,50,228,149,33,255,255,34,226,149,
249,17,40,152,33,202,154,183,237,82,77,68,
11,107,98,19,54,0,237,176,175,50,80,0,
--- linux-2.6.12-rc2-mm3-full/drivers/net/appletalk/cops_ltdrv.h.old 2005-04-19 03:02:27.000000000 +0200
+++ linux-2.6.12-rc2-mm3-full/drivers/net/appletalk/cops_ltdrv.h 2005-04-19 03:02:34.000000000 +0200
@@ -27,7 +27,7 @@
#ifdef CONFIG_COPS_TANGENT
-unsigned char ltdrv_code[] = {
+static const unsigned char ltdrv_code[] = {
58,3,0,50,148,10,33,143,15,62,85,119,
190,32,9,62,170,119,190,32,3,35,24,241,
34,146,10,249,17,150,10,33,143,15,183,237,
next reply other threads:[~2005-04-19 2:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-19 2:36 Adrian Bunk [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-05-02 1:46 [2.6 patch] drivers/net/appletalk/: make 2 firmware images static const Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050419023650.GS5489@stusta.de \
--to=bunk@stusta.de \
--cc=acme@conectiva.com.br \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).