]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ram: stm32mp1: remove __maybe_unused on stm32mp1_ddr_setup
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 24 Nov 2021 09:52:19 +0000 (10:52 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 30 Nov 2021 15:43:28 +0000 (16:43 +0100)
Since the commit f42045b2e750 ("stm32mp15: replace CONFIG_TFABOOT when
it is possible") the function stm32mp1_ddr_setup is always called so the
__maybe_unused can be removed.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/ram/stm32mp1/stm32mp1_ram.c

index 69f2a99e7a6bc5d4affbd2260e9d91c83a5934e6..49b1262461be323d6f40fa61e4f27f321cb3de0c 100644 (file)
@@ -88,7 +88,7 @@ static ofnode stm32mp1_ddr_get_ofnode(struct udevice *dev)
        return dev_ofnode(dev);
 }
 
-static __maybe_unused int stm32mp1_ddr_setup(struct udevice *dev)
+static int stm32mp1_ddr_setup(struct udevice *dev)
 {
        struct ddr_info *priv = dev_get_priv(dev);
        int ret;