Skip to contentSkip to conversation

drivers/net/appletalk/: make 2 firmware images static const

PATCH New Adrian Bunk 1 participant 1 message May 2, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/net/appletalk/: make 2 firmware images static const

This patch makes two needlessly global fimware images static const.

---

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(-)
drivers/net/appletalk/cops_ffdrv.h renamed from drivers/net/appletalk/cops_ffdrv.h.old +1 -1
@@ -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,
drivers/net/appletalk/cops_ltdrv.h renamed from drivers/net/appletalk/cops_ltdrv.h.old +1 -1
@@ -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,