Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758782Ab3CDTBH (ORCPT ); Mon, 4 Mar 2013 14:01:07 -0500 Received: from hqemgate03.nvidia.com ([216.228.121.140]:4789 "EHLO hqemgate03.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758688Ab3CDTBE (ORCPT ); Mon, 4 Mar 2013 14:01:04 -0500 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Mon, 04 Mar 2013 11:01:03 -0800 From: Rhyland Klein To: Grant Likely , Samuel Ortiz , Anton Vorontsov , Mark Brown CC: Laxman Dewangan , , , , Rhyland Klein Subject: [PATCH v2 1/4] mfd: tps65090: Fix enum in header file Date: Mon, 4 Mar 2013 14:01:46 -0500 Message-ID: <1362423709-29596-2-git-send-email-rklein@nvidia.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1362423709-29596-1-git-send-email-rklein@nvidia.com> References: <1362423709-29596-1-git-send-email-rklein@nvidia.com> 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 Content-Length: 916 Lines: 32 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 --- v2: - no changes since v1 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, -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/