From patchwork Sun Aug 7 14:14:47 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 1042382 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p77EF50g029335 for ; Sun, 7 Aug 2011 14:15:05 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753399Ab1HGOPE (ORCPT ); Sun, 7 Aug 2011 10:15:04 -0400 Received: from mail-iy0-f170.google.com ([209.85.210.170]:42695 "EHLO mail-iy0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753366Ab1HGOPD (ORCPT ); Sun, 7 Aug 2011 10:15:03 -0400 Received: by iye16 with SMTP id 16so7174873iye.1 for ; Sun, 07 Aug 2011 07:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=pgigQlgud9zthRLedWdZqeHegmshzXJ0i0qMcXjntIA=; b=KZizA9TZ4B4/NyWbzV+zXw8uTImDoZHPxyMQZj0py4+BslKV2rdqAoQO0v3Z6ewyea Ojf39Svr4WrC0YDQE6a5P9Jey4opW3qdZH0kiYra21mGSh8QHHGxWJA7PH4fRxn2qVzp mi+BMijbJ7xjr86SgPofhOYARekPGBdqGfjF8= Received: by 10.231.130.20 with SMTP id q20mr3433541ibs.86.1312726502754; Sun, 07 Aug 2011 07:15:02 -0700 (PDT) Received: from [218.172.224.127] (218-172-224-127.dynamic.hinet.net [218.172.224.127]) by mx.google.com with ESMTPS id a11sm3491868ibg.55.2011.08.07.07.14.54 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 07 Aug 2011 07:15:00 -0700 (PDT) Subject: [PATCH] Input: mma8450 - fix module device table type From: Axel Lin To: linux-kernel@vger.kernel.org Cc: Shawn Guo , Dmitry Torokhov , Eric Miao , Sammy He , linux-input@vger.kernel.org Date: Sun, 07 Aug 2011 22:14:47 +0800 Message-ID: <1312726487.7287.2.camel@phoenix> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sun, 07 Aug 2011 14:15:05 +0000 (UTC) The module device table for of_device_id should use "of" type. Signed-off-by: Axel Lin --- drivers/input/misc/mma8450.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/input/misc/mma8450.c b/drivers/input/misc/mma8450.c index 6c76cf7..0794778 100644 --- a/drivers/input/misc/mma8450.c +++ b/drivers/input/misc/mma8450.c @@ -234,7 +234,7 @@ static const struct of_device_id mma8450_dt_ids[] = { { .compatible = "fsl,mma8450", }, { /* sentinel */ } }; -MODULE_DEVICE_TABLE(i2c, mma8450_dt_ids); +MODULE_DEVICE_TABLE(of, mma8450_dt_ids); static struct i2c_driver mma8450_driver = { .driver = {