netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] drivers/net/appletalk/: make 2 firmware images static const
@ 2005-05-02  1:46 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-05-02  1:46 UTC (permalink / raw)
  To: Andrew Morton; +Cc: acme, Jeff Garzik, linux-kernel, netdev

This patch makes two needlessly global fimware images static const.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 19 Apr 2005

 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,

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [2.6 patch] drivers/net/appletalk/: make 2 firmware images static const
@ 2005-04-19  2:36 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-04-19  2:36 UTC (permalink / raw)
  To: acme; +Cc: Jeff Garzik, linux-kernel, netdev

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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-02  1:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-02  1:46 [2.6 patch] drivers/net/appletalk/: make 2 firmware images static const Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-04-19  2:36 Adrian Bunk

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).