From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751194AbaHDEGN (ORCPT ); Mon, 4 Aug 2014 00:06:13 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:13466 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750859AbaHDEGL (ORCPT ); Mon, 4 Aug 2014 00:06:11 -0400 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Sun, 03 Aug 2014 20:53:33 -0700 From: Alexandre Courbot To: Linus Walleij CC: Thierry Reding , Stephen Rothwell , , , , Alexandre Courbot Subject: [PATCH] gpio: add missing includes in machine.h Date: Mon, 4 Aug 2014 13:05:56 +0900 Message-ID: <1407125156-14269-1-git-send-email-acourbot@nvidia.com> X-Mailer: git-send-email 2.0.3 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org linux/types.h and linux/list.h should be included so the typed used in the header file are always properly declared. Reported-by: Stephen Rothwell Reported-by: Thierry Reding Signed-off-by: Alexandre Courbot --- include/linux/gpio/machine.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/gpio/machine.h b/include/linux/gpio/machine.h index b8ad87fab4ce..e2706140eaff 100644 --- a/include/linux/gpio/machine.h +++ b/include/linux/gpio/machine.h @@ -1,6 +1,9 @@ #ifndef __LINUX_GPIO_MACHINE_H #define __LINUX_GPIO_MACHINE_H +#include +#include + enum gpio_lookup_flags { GPIO_ACTIVE_HIGH = (0 << 0), GPIO_ACTIVE_LOW = (1 << 0), -- 2.0.3