From: Roland Dreier Date: Tue, 5 Feb 2008 04:20:44 +0000 (-0800) Subject: IB: Avoid marking __devinitdata as const X-Git-Tag: v2.6.25-rc1~790^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f33afc26dc03e6e0513e2e300f2aa0ad5463c2d2;p=linux-2.6-omap-h63xx.git IB: Avoid marking __devinitdata as const Signed-off-by: Roland Dreier --- diff --git a/drivers/infiniband/hw/mthca/mthca_main.c b/drivers/infiniband/hw/mthca/mthca_main.c index e3bd71a3aa9..cd3d8adbef9 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); MODULE_PARM_DESC(fmr_reserved_mtts, "number of memory translation table segments reserved for FMR"); -static const char mthca_version[] __devinitdata = +static char mthca_version[] __devinitdata = DRV_NAME ": Mellanox InfiniBand HCA driver v" DRV_VERSION " (" DRV_RELDATE ")\n"; diff --git a/drivers/net/mlx4/main.c b/drivers/net/mlx4/main.c index 859617d622b..08bfc130a33 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"); #endif /* CONFIG_PCI_MSI */ -static const char mlx4_version[] __devinitdata = +static char mlx4_version[] __devinitdata = DRV_NAME ": Mellanox ConnectX core driver v" DRV_VERSION " (" DRV_RELDATE ")\n";