You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your enhancement proposal related to a problem? Please describe.
The problem is with external gpio drivers. These helpers are needed but by convention everything that is not under "include" is "private" headers.
Describe the solution you'd like
Remove inlines
Put this code into drivers/gpio/gpio_util.c
Put public interface under include/drivers/gpio/gpio_util.h
Add a kconfig option which is enabled by default if GPIO is enabled
Describe alternatives you've considered
Moving the header into the repo with external drivers. Not optimal because it creates duplication.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
mkschreder
changed the title
drivers: gpio: expose gpio_utils.h to external drivers
drivers: gpio: expose gpio_utils.h to external GPIO drivers
Aug 3, 2022
@mkschreder I would like to pick up this issue. One quick query though, could we have the existing gpio_util.h (with inlines) itself exposed under public header interface?
@mkschreder I would like to pick up this issue. One quick query though, could we have the existing gpio_util.h (with inlines) itself exposed under public header interface?
Lets start with that. It would be a very small change to start with.
Is your enhancement proposal related to a problem? Please describe.
The problem is with external gpio drivers. These helpers are needed but by convention everything that is not under "include" is "private" headers.
Describe the solution you'd like
Describe alternatives you've considered
Moving the header into the repo with external drivers. Not optimal because it creates duplication.
Additional context
N/A
The text was updated successfully, but these errors were encountered: