Skip to content
Commit 41a00603 authored by Jonas Berg's avatar Jonas Berg Committed by Benjamin Cabé
Browse files

Drivers: GPIO: Allow AW9523 to be used without interrupts



There will be an compilation error if there is no interrupt GPIO defined
in the device tree file, as parts of the config and data structs
have #if that depends on the presence of interrupt GPIO.

Use the same #if constructs also on the functions that use those
structs.

Signed-off-by: default avatarJonas Berg <jonas.s.t.berg@gmail.com>
parent 95e274b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment