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.ko...@collabora.com> --- 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