From patchwork Sat Aug 29 10:48:57 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: 7095051 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 65BC3BEEC1 for ; Sat, 29 Aug 2015 10:49:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8254C208D6 for ; Sat, 29 Aug 2015 10:49:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AF36B20998 for ; Sat, 29 Aug 2015 10:49:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753058AbbH2KtB (ORCPT ); Sat, 29 Aug 2015 06:49:01 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:38203 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753043AbbH2Ks7 (ORCPT ); Sat, 29 Aug 2015 06:48:59 -0400 Received: by wifs6 with SMTP id s6so4968100wif.1; Sat, 29 Aug 2015 03:48:58 -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=BIzbHhbjU57ta9V9MYpaNWgF3zlehCW9ZNKA8O5dSfw=; b=uX4KZyi4CetOdKYEgZBjuaclpRuCtHY0to9ljFYUXzVxOsUZQDMYXMLwajgwhbSvIX eJi550JBjU/dWetmiCQQm3DWQTgL5yh2+fs25X3IjJBqOC0QLrRfu2KAC0f6TTsR7Mlj +y07W574L6wOT1N9akp72Nm62L/7LYG4naSk1Jngp4Xc9xOkJQaVpDvzBuMiuF820maS 4XIM0GxBNcB2Lerxi9GkWpu8sqUOzSf9WERi81ZE9bxM9qjCsTqPpP9UFVT5AmAAAEZ0 C5Blokb697KDr2ldhBCxpi4Px2My/49I3VmrQjwnmCpRo8khmle+ObhtwFF/shu7x46M 1luw== X-Received: by 10.180.90.209 with SMTP id by17mr9604818wib.60.1440845338272; Sat, 29 Aug 2015 03:48:58 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id ik8sm12284740wjb.8.2015.08.29.03.48.57 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 29 Aug 2015 03:48:57 -0700 (PDT) Date: Sat, 29 Aug 2015 12:48:57 +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 v2 5/6] input: egalax_ts: Fix module autoload for OF platform driver Message-ID: <20150829104857.GA20914@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=-7.8 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/egalax_ts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c index 4c56299..7229858 100644 --- a/drivers/input/touchscreen/egalax_ts.c +++ b/drivers/input/touchscreen/egalax_ts.c @@ -264,6 +264,7 @@ static const struct of_device_id egalax_ts_dt_ids[] = { { .compatible = "eeti,egalax_ts" }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, egalax_ts_dt_ids); static struct i2c_driver egalax_ts_driver = { .driver = {