Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1624683
| From | Helen Koike <helen.koike@collabora.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/2] component: remove struct master from the header |
| Date | 2017-04-17 17:10 +0200 |
| Message-ID | <txgrT-2bp-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 1/2] component: remove struct master from the header Helen Koike <helen.koike@collabora.com> - 2017-04-17 17:10 +0200 [PATCH 2/2] component: add kernel-docs in the header Helen Koike <helen.koike@collabora.com> - 2017-04-17 17:10 +0200
csiph-web