The Navpoint driver uses a GPIO line, convert this to use a GPIO descriptor. There are no in-kernel users but out of tree users can easily be added or converted using a GPIO descriptor table as with numerous other drivers.
Showing the changes to include/linux/input (1 of 2 files). Show all
Unified · Split
| @@ -5,5 +5,4 @@ · 4 unmodified lines | ||
| 5 | 5 | |
| 6 | 6 | struct navpoint_platform_data { |
| 7 | 7 | int port; /* PXA SSP port for pxa_ssp_request() */ |
| 8 | − int gpio; /* GPIO for power on/off */ | |
| 9 | 8 | }; |