[PATCH 1/2] component: remove struct master from the header

From: Helen Koike
Date: Mon Apr 17 2017 - 11:08:46 EST


struct master is not necessary in the header file, it is a private
struct only used in component.c

Signed-off-by: Helen Koike <helen.koike@xxxxxxxxxxxxx>
---
include/linux/component.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/linux/component.h b/include/linux/component.h
index a559eeb..a15c094 100644
--- a/include/linux/component.h
+++ b/include/linux/component.h
@@ -18,8 +18,6 @@ void component_del(struct device *, const struct component_ops *);
int component_bind_all(struct device *master, void *master_data);
void component_unbind_all(struct device *master, void *master_data);

-struct master;
-
struct component_master_ops {
int (*bind)(struct device *master);
void (*unbind)(struct device *master);
--
2.7.4