usb: typec: add max_snk_mv/ma/mw
authorVipul Kumar <vipul_kumar@mentor.com>
Thu, 10 Jan 2019 05:46:29 +0000 (11:16 +0530)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit0cfefed6576b6cf7bca89e74fdd7595ad51ed8da
treed8f49cce267964da226d1b8647e3e238fd560968
parentccbf06406704c52d5146c9f28cbc8907429b92ce
usb: typec: add max_snk_mv/ma/mw

This patch add max_snk_mv/ma/mw to fix the below
compilation error.

drivers/usb/typec/tcpci.c:707:15: error: ‘struct tcpc_config’ has no member named ‘max_snk_mv’
          &tcfg->max_snk_mv) ||
               ^~
drivers/usb/typec/tcpci.c:709:13: error: ‘struct tcpc_config’ has no member named ‘max_snk_ma’
        &tcfg->max_snk_ma) ||
             ^~

Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
include/linux/usb/tcpm.h