From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753284Ab1AJEpQ (ORCPT ); Sun, 9 Jan 2011 23:45:16 -0500 Received: from mx5.orcon.net.nz ([219.88.242.55]:43785 "EHLO mx5.orcon.net.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752151Ab1AJEpO (ORCPT ); Sun, 9 Jan 2011 23:45:14 -0500 From: Michael Cree To: Randy Dunlap Cc: Michael Cree , linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, Matt Turner , Tejun Heo , Andrew Morton , Bob Tracy , Pekka Enberg , David Woodhouse Subject: [PATCH] i2c-i801: Add missing include. Date: Mon, 10 Jan 2011 17:44:35 +1300 Message-Id: <1294634675-29557-1-git-send-email-mcree@orcon.net.nz> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <20110104141151.b6035bf3.randy.dunlap@oracle.com> References: <20110104141151.b6035bf3.randy.dunlap@oracle.com> X-DSPAM-Check: by mx5.orcon.net.nz on Mon, 10 Jan 2011 17:45:11 +1300 X-DSPAM-Result: Innocent X-DSPAM-Processed: Mon Jan 10 17:45:12 2011 X-DSPAM-Confidence: 0.6201 X-DSPAM-Probability: 0.0000 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Causes compile error on Alpha, but not on x86 because its version of includes . In any case, it's a bug in the driver. Signed-off-by: Michael Cree --- Since no one else has submitted the patch here it goes. Shall I send it directly to Linus (since I plan to send some Alpha specific patches very soon) or will the subsytem maintainers pick it up? drivers/i2c/busses/i2c-i801.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index 02835ce..7979aef 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c @@ -72,6 +72,7 @@ #include #include #include +#include /* I801 SMBus address offsets */ #define SMBHSTSTS(p) (0 + (p)->smba) -- 1.7.2.3