mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] component: remove struct master from the header
@ 2017-04-17 15:08 Helen Koike
  2017-04-17 15:08 ` [PATCH 2/2] component: add kernel-docs in " Helen Koike
  0 siblings, 1 reply; 2+ messages in thread
From: Helen Koike @ 2017-04-17 15:08 UTC (permalink / raw)
  To: rmk+kernel; +Cc: gregkh, linux-kernel

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@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-17 15:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-17 15:08 [PATCH 1/2] component: remove struct master from the header Helen Koike
2017-04-17 15:08 ` [PATCH 2/2] component: add kernel-docs in " Helen Koike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®