Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753840AbdDQPIo (ORCPT ); Mon, 17 Apr 2017 11:08:44 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:55132 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753164AbdDQPIl (ORCPT ); Mon, 17 Apr 2017 11:08:41 -0400 From: Helen Koike To: rmk+kernel@arm.linux.org.uk Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] component: remove struct master from the header Date: Mon, 17 Apr 2017 12:08:27 -0300 Message-Id: <1492441708-4057-1-git-send-email-helen.koike@collabora.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 749 Lines: 23 struct master is not necessary in the header file, it is a private struct only used in component.c Signed-off-by: Helen Koike --- 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