thunderbolt: Move enum tb_cfg_pkg_type to thunderbolt.h
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 2 Oct 2017 10:38:31 +0000 (13:38 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Oct 2017 18:24:40 +0000 (11:24 -0700)
commiteaf8ff35a345449207ad116e2574c19780ec9a98
tree27a130f96bb13867fad8d87eb78953eb15415312
parentcdae7c07e3e3509eaabc18c1640a55dc5b99c179
thunderbolt: Move enum tb_cfg_pkg_type to thunderbolt.h

These will be needed by Thunderbolt services when sending and receiving
XDomain control messages. While there change TB_CFG_PKG_PREPARE_TO_SLEEP
value to be decimal in order to be consistent with other members.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Michael Jamet <michael.jamet@intel.com>
Reviewed-by: Yehezkel Bernat <yehezkel.bernat@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/thunderbolt/ctl.h
drivers/thunderbolt/tb_msgs.h
include/linux/thunderbolt.h