Skip to content
Commit 72127922 authored by Christopher Friedt's avatar Christopher Friedt Committed by Christopher Friedt
Browse files

drivers: pcie_ep: iproc: ensure config and api are const



The `config` and `api` members of `struct device` are expected
to be `const`. This also improves reliability, as `config`
and `api` are stored in rom rather than ram, which has the
potential to be corrupted at runtime in the absense of an MMU.

Signed-off-by: default avatarChris Friedt <cfriedt@meta.com>
parent 9d95f69a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment