commit | e58f3a7d9b7e5961ca7e362bffd01a134ad3b831 | [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 | c11f5abce84f630c92304683d5bde3204c5612c4 [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>