aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2008-02-04 23:20:44 -0500
committerRoland Dreier <rolandd@cisco.com>2008-02-04 23:20:44 -0500
commitf33afc26dc03e6e0513e2e300f2aa0ad5463c2d2 (patch)
tree8d4645dd7c20c466a1c421a2ed05d480497f629f
parent68f3948dab39249d178eb007c071f87fb6481fc6 (diff)
IB: Avoid marking __devinitdata as const
Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r--drivers/infiniband/hw/mthca/mthca_main.c2
-rw-r--r--drivers/net/mlx4/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_main.c b/drivers/infiniband/hw/mthca/mthca_main.c
index e3bd71a3aa93..cd3d8adbef9f 100644
--- a/drivers/infiniband/hw/mthca/mthca_main.c
+++ b/drivers/infiniband/hw/mthca/mthca_main.c
@@ -126,7 +126,7 @@ module_param_named(fmr_reserved_mtts, hca_profile.fmr_reserved_mtts, int, 0444);
126MODULE_PARM_DESC(fmr_reserved_mtts, 126MODULE_PARM_DESC(fmr_reserved_mtts,
127 "number of memory translation table segments reserved for FMR"); 127 "number of memory translation table segments reserved for FMR");
128 128
129static const char mthca_version[] __devinitdata = 129static char mthca_version[] __devinitdata =
130 DRV_NAME ": Mellanox InfiniBand HCA driver v" 130 DRV_NAME ": Mellanox InfiniBand HCA driver v"
131 DRV_VERSION " (" DRV_RELDATE ")\n"; 131 DRV_VERSION " (" DRV_RELDATE ")\n";
132 132
diff --git a/drivers/net/mlx4/main.c b/drivers/net/mlx4/main.c
index 859617d622b9..08bfc130a33e 100644
--- a/drivers/net/mlx4/main.c
+++ b/drivers/net/mlx4/main.c
@@ -71,7 +71,7 @@ MODULE_PARM_DESC(msi_x, "attempt to use MSI-X if nonzero");
71 71
72#endif /* CONFIG_PCI_MSI */ 72#endif /* CONFIG_PCI_MSI */
73 73
74static const char mlx4_version[] __devinitdata = 74static char mlx4_version[] __devinitdata =
75 DRV_NAME ": Mellanox ConnectX core driver v" 75 DRV_NAME ": Mellanox ConnectX core driver v"
76 DRV_VERSION " (" DRV_RELDATE ")\n"; 76 DRV_VERSION " (" DRV_RELDATE ")\n";
77 77