Nobody defines struct ina2xx_platform_data. Remove platform data support from the drivers which still have it (it's effectively dead code) and remove the header.
Showing the changes to include/linux/platform_data (1 of 3 files). Show all
Unified · Split
| @@ -1,16 +0,0 @@ | ||
| 1 | −/* SPDX-License-Identifier: GPL-2.0-only */ | |
| 2 | −/* | |
| 3 | − * Driver for Texas Instruments INA219, INA226 power monitor chips | |
| 4 | − * | |
| 5 | − * Copyright (C) 2012 Lothar Felten <lothar.felten@gmail.com> | |
| 6 | − * | |
| 7 | − * For further information, see the Documentation/hwmon/ina2xx.rst file. | |
| 8 | − */ | |
| 9 | − | |
| 10 | −/** | |
| 11 | − * struct ina2xx_platform_data - ina2xx info | |
| 12 | − * @shunt_uohms shunt resistance in microohms | |
| 13 | − */ | |
| 14 | −struct ina2xx_platform_data { | |
| 15 | − long shunt_uohms; | |
| 16 | −}; | |