diff options
| author | Maxime Ripard <mripard@kernel.org> | 2026-03-31 12:00:12 +0200 |
|---|---|---|
| committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2026-03-31 13:27:20 +0200 |
| commit | 633040f853467a490437ace26d6a5413e64c0dd0 (patch) | |
| tree | 8159e1dff48da365cad58300ca2907867d937111 /kernel/dma/contiguous.c | |
| parent | b3707be95f045c4e526e419435af29dc9dd1c267 (diff) | |
| download | linux-next-633040f853467a490437ace26d6a5413e64c0dd0.tar.gz linux-next-633040f853467a490437ace26d6a5413e64c0dd0.zip | |
dma: contiguous: Make dma_contiguous_default_area static
Now that dev_get_cma_area() is no longer inline, we don't have any user
of dma_contiguous_default_area() outside of contiguous.c so we can make
it static.
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20260331-dma-buf-heaps-as-modules-v4-3-e18fda504419@kernel.org
Diffstat (limited to 'kernel/dma/contiguous.c')
| -rw-r--r-- | kernel/dma/contiguous.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/dma/contiguous.c b/kernel/dma/contiguous.c index 40a0ead24979..fd8d3518a232 100644 --- a/kernel/dma/contiguous.c +++ b/kernel/dma/contiguous.c @@ -83,7 +83,7 @@ struct cma *dma_contiguous_get_area_by_idx(unsigned int idx) } EXPORT_SYMBOL_GPL(dma_contiguous_get_area_by_idx); -struct cma *dma_contiguous_default_area; +static struct cma *dma_contiguous_default_area; /* * Default global CMA area size can be defined in kernel's .config. |
