summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/greybus.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/greybus/greybus.h')
-rw-r--r--drivers/staging/greybus/greybus.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/staging/greybus/greybus.h b/drivers/staging/greybus/greybus.h
index fa81733..405e565 100644
--- a/drivers/staging/greybus/greybus.h
+++ b/drivers/staging/greybus/greybus.h
@@ -26,10 +26,8 @@
#include "greybus_protocols.h"
#include "manifest.h"
#include "hd.h"
-#include "endo.h"
#include "svc.h"
#include "firmware.h"
-#include "module.h"
#include "control.h"
#include "interface.h"
#include "bundle.h"
@@ -105,8 +103,6 @@ struct dentry *gb_debugfs_get(void);
extern struct bus_type greybus_bus_type;
extern struct device_type greybus_hd_type;
-extern struct device_type greybus_endo_type;
-extern struct device_type greybus_module_type;
extern struct device_type greybus_interface_type;
extern struct device_type greybus_bundle_type;
extern struct device_type greybus_svc_type;
@@ -116,16 +112,6 @@ static inline int is_gb_host_device(const struct device *dev)
return dev->type == &greybus_hd_type;
}
-static inline int is_gb_endo(const struct device *dev)
-{
- return dev->type == &greybus_endo_type;
-}
-
-static inline int is_gb_module(const struct device *dev)
-{
- return dev->type == &greybus_module_type;
-}
-
static inline int is_gb_interface(const struct device *dev)
{
return dev->type == &greybus_interface_type;