From patchwork Wed Feb 27 23:07:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rhyland Klein X-Patchwork-Id: 223718 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 66DE32C0301 for ; Thu, 28 Feb 2013 10:07:33 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758406Ab3B0XHI (ORCPT ); Wed, 27 Feb 2013 18:07:08 -0500 Received: from hqemgate03.nvidia.com ([216.228.121.140]:15258 "EHLO hqemgate03.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757867Ab3B0XHH (ORCPT ); Wed, 27 Feb 2013 18:07:07 -0500 Received: from hqnvupgp07.nvidia.com (Not Verified[216.228.121.13]) by hqemgate03.nvidia.com id ; Wed, 27 Feb 2013 15:11:45 -0800 Received: from hqemhub01.nvidia.com ([172.17.108.22]) by hqnvupgp07.nvidia.com (PGP Universal service); Wed, 27 Feb 2013 15:06:00 -0800 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Wed, 27 Feb 2013 15:06:00 -0800 Received: from rklein-linux.nvidia.com (172.20.144.16) by hqemhub01.nvidia.com (172.20.150.30) with Microsoft SMTP Server (TLS) id 8.3.297.1; Wed, 27 Feb 2013 15:06:47 -0800 From: Rhyland Klein To: Grant Likely , Samuel Ortiz , Anton Vorontsov , Mark Brown CC: Laxman Dewangan , , , , Rhyland Klein Subject: [PATCH 1/4] mfd: tps65090: Fix enum in header file Date: Wed, 27 Feb 2013 18:07:27 -0500 Message-ID: <1362006450-4979-2-git-send-email-rklein@nvidia.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1362006450-4979-1-git-send-email-rklein@nvidia.com> References: <1362006450-4979-1-git-send-email-rklein@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org The enum is missing the definition for the first bit, which makes all the rest off by one. Add definition for the TPS65090_IRQ_INTERRUPT bit which at 0. Signed-off-by: Rhyland Klein --- include/linux/mfd/tps65090.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mfd/tps65090.h b/include/linux/mfd/tps65090.h index 6694cf4..9ce231f 100644 --- a/include/linux/mfd/tps65090.h +++ b/include/linux/mfd/tps65090.h @@ -27,6 +27,7 @@ /* TPS65090 IRQs */ enum { + TPS65090_IRQ_INTERRUPT, TPS65090_IRQ_VAC_STATUS_CHANGE, TPS65090_IRQ_VSYS_STATUS_CHANGE, TPS65090_IRQ_BAT_STATUS_CHANGE,