• Masahiro Yamada's avatar
    ARM: s3c64xx: squash samsung_usb_phy.h into setup-usb-phy.c · d1dec5ca
    Masahiro Yamada authored
    This is only used by arch/arm/mach-s3c64xx/setup-usb-phy.c
    
    $ git grep samsung_usb_phy_type
    include/linux/usb/samsung_usb_phy.h:enum samsung_usb_phy_type {
    $ git grep USB_PHY_TYPE_DEVICE
    arch/arm/mach-s3c64xx/setup-usb-phy.c:  if (type == USB_PHY_TYPE_DEVICE)
    arch/arm/mach-s3c64xx/setup-usb-phy.c:  if (type == USB_PHY_TYPE_DEVICE)
    include/linux/usb/samsung_usb_phy.h:    USB_PHY_TYPE_DEVICE,
    $ git grep USB_PHY_TYPE_HOST
    include/linux/usb/samsung_usb_phy.h:    USB_PHY_TYPE_HOST,
    
    Actually, 'enum samsung_usb_phy_type' is unused; the 'type' parameter
    has 'int' type. Anyway, there is no need to declare this enum in the
    globally visible header. Squash the header.
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
    d1dec5ca
usb-phy.h 402 Bytes