]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
power: supply: cpcap-charger: include missing <linux/property.h>
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 5 May 2026 10:05:18 +0000 (13:05 +0300)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 3 Jun 2026 21:23:30 +0000 (23:23 +0200)
commita9e36028b688d693d8aefbf84a9899f31a20fcf0
tree1463400e9463b7ded260fb21995288350e78fff3
parent43401898fde586bdeb73ac2c11d4f949fcba9f77
power: supply: cpcap-charger: include missing <linux/property.h>

This file uses dev_fwnode() without including the proper header for it,
relying on transitive header inclusion from:

drivers/power/supply/cpcap-charger.c
- include/linux/phy/omap_usb.h
  - include/linux/usb/phy_companion.h
    - include/linux/usb/otg.h
      - include/linux/phy/phy.h
        - drivers/phy/phy-provider.h
          - include/linux/of.h
            - include/linux/property.h

With the future removal of drivers/phy/phy-provider.h from
include/linux/phy/phy.h, this transitive inclusion would break.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://patch.msgid.link/20260505100523.1922388-27-vladimir.oltean@nxp.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/cpcap-charger.c