commit | 3f7dc6e7dcff90c93a4c054f82b205abe64a9379 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Jun 27 17:50:56 2021 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Thu Jul 15 19:49:46 2021 +0800 |
tree | 954cfc72aecf5f32280a7977ddfff1d94efa8bc0 | |
parent | be0938910435186134d66eeaa0a9a36d6de5be51 [diff] |
pci: Use const for pci_find_device_id() etc. 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> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>