From patchwork Mon Apr 1 22:20:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rhyland Klein X-Patchwork-Id: 232825 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 43A672C00B1 for ; Tue, 2 Apr 2013 09:20:16 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755281Ab3DAWUP (ORCPT ); Mon, 1 Apr 2013 18:20:15 -0400 Received: from hqemgate04.nvidia.com ([216.228.121.35]:19063 "EHLO hqemgate04.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755211Ab3DAWUO (ORCPT ); Mon, 1 Apr 2013 18:20:14 -0400 Received: from hqnvupgp07.nvidia.com (Not Verified[216.228.121.13]) by hqemgate04.nvidia.com id ; Mon, 01 Apr 2013 15:20:13 -0700 Received: from hqemhub02.nvidia.com ([172.20.12.94]) by hqnvupgp07.nvidia.com (PGP Universal service); Mon, 01 Apr 2013 15:19:28 -0700 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Mon, 01 Apr 2013 15:19:28 -0700 Received: from rklein-linux.nvidia.com (172.20.144.16) by hqemhub02.nvidia.com (172.20.150.31) with Microsoft SMTP Server (TLS) id 8.3.298.1; Mon, 1 Apr 2013 15:20:13 -0700 From: Rhyland Klein To: Samuel Ortiz CC: Mark Brown , , , Rhyland Klein Subject: [REPOST V4 1/2] mfd: tps65090: Fix enum in header file Date: Mon, 1 Apr 2013 18:20:23 -0400 Message-ID: <1364854824-7647-1-git-send-email-rklein@nvidia.com> X-Mailer: git-send-email 1.7.9.5 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 --- v4: - 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 998628a..3f43069 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,