Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pinctrl/gpiolib: Mark gpiochips as "used" for LTO
GCC's Link Time Optimisation feature can cause the link-to-register feature of gpiolib to fail - without an explicit reference to the data it is assumed to be unused, and dropped. Add the "used" attribute to prevent this. See: #75 Signed-off-by: Phil Elwell <[email protected]>
- Loading branch information