summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt/ctl.h
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2017-10-02 13:38:31 +0300
committerDavid S. Miller <davem@davemloft.net>2017-10-02 11:24:40 -0700
commiteaf8ff35a345449207ad116e2574c19780ec9a98 (patch)
tree27a130f96bb13867fad8d87eb78953eb15415312 /drivers/thunderbolt/ctl.h
parentcdae7c07e3e3509eaabc18c1640a55dc5b99c179 (diff)
downloadtalos-obmc-linux-eaf8ff35a345449207ad116e2574c19780ec9a98.tar.gz
talos-obmc-linux-eaf8ff35a345449207ad116e2574c19780ec9a98.zip
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>
Diffstat (limited to 'drivers/thunderbolt/ctl.h')
-rw-r--r--drivers/thunderbolt/ctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thunderbolt/ctl.h b/drivers/thunderbolt/ctl.h
index 36fd28b1c1c5..d0f21e1e0b8b 100644
--- a/drivers/thunderbolt/ctl.h
+++ b/drivers/thunderbolt/ctl.h
@@ -8,6 +8,7 @@
#define _TB_CFG
#include <linux/kref.h>
+#include <linux/thunderbolt.h>
#include "nhi.h"
#include "tb_msgs.h"
OpenPOWER on IntegriCloud