From patchwork Thu Aug 27 17:01:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis de Bethencourt X-Patchwork-Id: 7086231 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 03785BEEC1 for ; Thu, 27 Aug 2015 17:01:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8BB0820984 for ; Thu, 27 Aug 2015 17:01:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B97A7207B5 for ; Thu, 27 Aug 2015 17:01:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751857AbbH0RBY (ORCPT ); Thu, 27 Aug 2015 13:01:24 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:36149 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751755AbbH0RBX (ORCPT ); Thu, 27 Aug 2015 13:01:23 -0400 Received: by wicgk12 with SMTP id gk12so14676193wic.1; Thu, 27 Aug 2015 10:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=BMHugw39TxsOeyVCB34OO8ZRGX+W0KJcaClL6IJw+Nw=; b=XFR5RKEAg9OyNPbFT41tl9xozWTEnA86pU5CFKucT57pC/Na4eKG52PzYH/GN8+xFK /9MjMaJtH5rzTuiSwT/GmwiMYo5BOtRKbc8Ssbt0Doe6Ls9Ej0oMhSzS/DkoGLE3z/qA Na1EuychtYvG+9ILxHeYG+PrP3VAWBQFSl99tbaSC+CFo7CFsCpJaEKbwZ1Yb9JLXlPj rwBBiAH7QH3Ht4ewieoR6FoOqsV44TpKvnc+E2e/FMPqtBj+xJH77Haxsl8FbnIrFJvu VajLphp7LXwm6U/piGDKuXOWrdN9EoNpknECYvctgsrPfFM01R5X3P0dM4O9Ljyfs4KQ cXDg== X-Received: by 10.180.206.176 with SMTP id lp16mr11813897wic.85.1440694882609; Thu, 27 Aug 2015 10:01:22 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id j2sm3966935wjq.5.2015.08.27.10.01.21 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 27 Aug 2015 10:01:22 -0700 (PDT) Date: Thu, 27 Aug 2015 19:01:21 +0200 From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Dmitry Torokhov , Jingoo Han , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Javier Martinez Canillas Subject: [PATCH 6/6] input: mms114: Fix module autoload for OF platform driver Message-ID: <20150827170121.GA5627@goodgumbo.baconseed.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/input/touchscreen/mms114.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c index 67c0d31..382ea00 100644 --- a/drivers/input/touchscreen/mms114.c +++ b/drivers/input/touchscreen/mms114.c @@ -573,6 +573,7 @@ static const struct of_device_id mms114_dt_match[] = { { } }; #endif +MODULE_DEVICE_TABLE(of, mms114_dt_match); static struct i2c_driver mms114_driver = { .driver = {