From 2a8f78c9c9c57575bb9bb967ba42bc228d26b180 Mon Sep 17 00:00:00 2001 From: Laura Abbott <lauraa@codeaurora.org> Date: Tue, 26 Feb 2013 10:26:30 -0800 Subject: [PATCH] cma: Remove __init annotations from data structures Several of the CMA data structures are used after initialization remove the __init annotations from them. Change-Id: Iff48ed88eef7b8fffdfba4b868cc69ded3c6df42 Signed-off-by: Laura Abbott <lauraa@codeaurora.org> --- drivers/base/dma-contiguous.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/base/dma-contiguous.c b/drivers/base/dma-contiguous.c index b6fc1f5e1240..f60fac75ad0a 100644 --- a/drivers/base/dma-contiguous.c +++ b/drivers/base/dma-contiguous.c @@ -9,6 +9,9 @@ * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License or (at your optional) any later version of the license. + * + * The Linux Foundation chooses to take subject only to the GPLv2 license + * terms, and distributes only under these terms. */ #define pr_fmt(fmt) "cma: " fmt @@ -52,8 +55,8 @@ static struct cma_area { phys_addr_t base; unsigned long size; struct cma *cma; -} cma_areas[MAX_CMA_AREAS] __initdata; -static unsigned cma_area_count __initdata; +} cma_areas[MAX_CMA_AREAS]; +static unsigned cma_area_count; static struct cma_map { -- GitLab