
8 Apr
2021
8 Apr
'21
4:29 a.m.
On Wed, Apr 7, 2021 at 12:32 PM Simon Glass sjg@chromium.org wrote:
These functions don't modify the device-ID struct that is passed in, so mark the argument as const, so the data structure can be declared that way. This allows it to be placed in the rodata section.
Signed-off-by: Simon Glass sjg@chromium.org
drivers/pci/pci-uclass.c | 6 +++--- include/pci.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com