From patchwork Thu Sep 17 16:35:37 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: 518958 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 A9939141430 for ; Fri, 18 Sep 2015 02:35:41 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=Q5FWzCGO; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752409AbbIQQfk (ORCPT ); Thu, 17 Sep 2015 12:35:40 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:38376 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752135AbbIQQfj (ORCPT ); Thu, 17 Sep 2015 12:35:39 -0400 Received: by wiclk2 with SMTP id lk2so34945555wic.1; Thu, 17 Sep 2015 09:35:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:date:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=mB0EbiD2BXhUjW8jScPRSWIQxSiY7mxJHYF1sdxRqbU=; b=Q5FWzCGOk0jxMJ/2nnI6SY786M3fSjp8nS+/jLNy47D6sXnw5526hEon8FL618Tkis 0ddLxG1HEKgqCVNo+IjFuYJG3dqTNpsvHmSjEaJbJ7CYwG2wSbdTwAEtgA+XbeH9xeZl bKmoKTzJCmvc/R1tbfknzuyBJOZH6deQS3KZG17bHVd8KANk4n1FjKnIAAqQ3U2FCJ3U MtXz4V9Sx+ngjkQKC6WP4PAQHYq3R8bjmepaZIizE2u+87m0WaH4k4XhAiX76tFaoWsh DR5Oy5X2Hf1T3Gp67d80ehwNwqCDbCElmuE3Hxmsk0Bw6I4aK8nxymr8nr3RoyTCEeDR aNhQ== X-Received: by 10.180.211.10 with SMTP id my10mr9655211wic.84.1442507738472; Thu, 17 Sep 2015 09:35:38 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id lu5sm4276908wjb.9.2015.09.17.09.35.37 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 17 Sep 2015 09:35:37 -0700 (PDT) From: Luis de Bethencourt X-Google-Original-From: Luis de Bethencourt Date: Thu, 17 Sep 2015 18:35:37 +0200 To: linux-kernel@vger.kernel.org Cc: Wolfram Sang , Beniamino Galvani , linux-i2c@vger.kernel.org Subject: [PATCH 2/4] i2c: meson: Fix module autoload for OF platform driver Message-ID: <20150917163537.GA26203@goodgumbo.baconseed.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org 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/i2c/busses/i2c-meson.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/i2c-meson.c b/drivers/i2c/busses/i2c-meson.c index 5e176ad..71d3929 100644 --- a/drivers/i2c/busses/i2c-meson.c +++ b/drivers/i2c/busses/i2c-meson.c @@ -475,6 +475,7 @@ static const struct of_device_id meson_i2c_match[] = { { .compatible = "amlogic,meson6-i2c" }, { }, }; +MODULE_DEVICE_TABLE(of, meson_i2c_match); static struct platform_driver meson_i2c_driver = { .probe = meson_i2c_probe,