disk: enable function prototypes in part.h for SPL/TPL
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 19 Apr 2022 01:01:53 +0000 (10:01 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 23 Apr 2022 20:05:33 +0000 (22:05 +0200)
commit37168e396450f3a915c8a9ae9fa65caa3168920b
tree7cedd1838b46f498dbef8b556c14ecd0ed20569b
parentfd3654df3699ef08a4da91aacfb9799341680806
disk: enable function prototypes in part.h for SPL/TPL

Since CONFIG_[SPL|TPL]_PARTITIONS were introduced, part.h has not been
updated. Due to this, while the build won't fail, some functionality may
possibly break as some partition-related functions are nullified even
though some partition table types are enabled for SPL/TPL.

Fixes: commit 88ca8e26958b ("disk: Add an option for partitions in SPL")
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
include/part.h