From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753988AbbG3QWM (ORCPT ); Thu, 30 Jul 2015 12:22:12 -0400 Received: from lists.s-osg.org ([54.187.51.154]:55114 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753749AbbG3QUQ (ORCPT ); Thu, 30 Jul 2015 12:20:16 -0400 From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Javier Martinez Canillas , Bryan Wu , linux-leds@vger.kernel.org Subject: [PATCH 23/27] leds: Export OF module alias information in missing drivers Date: Thu, 30 Jul 2015 18:18:48 +0200 Message-Id: <1438273132-20926-24-git-send-email-javier@osg.samsung.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1438273132-20926-1-git-send-email-javier@osg.samsung.com> References: <1438273132-20926-1-git-send-email-javier@osg.samsung.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The I2C core always reports the MODALIAS uevent as "i2c: --- drivers/leds/leds-pca963x.c | 1 + drivers/leds/leds-tca6507.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/leds/leds-pca963x.c b/drivers/leds/leds-pca963x.c index 3f63a1bfdc4f..41f269fe0920 100644 --- a/drivers/leds/leds-pca963x.c +++ b/drivers/leds/leds-pca963x.c @@ -332,6 +332,7 @@ static const struct of_device_id of_pca963x_match[] = { { .compatible = "nxp,pca9635", }, {}, }; +MODULE_DEVICE_TABLE(of, of_pca963x_match); #else static struct pca963x_platform_data * pca963x_dt_init(struct i2c_client *client, struct pca963x_chipdef *chip) diff --git a/drivers/leds/leds-tca6507.c b/drivers/leds/leds-tca6507.c index c1f910981781..edbecc4ca2da 100644 --- a/drivers/leds/leds-tca6507.c +++ b/drivers/leds/leds-tca6507.c @@ -735,6 +735,7 @@ static const struct of_device_id of_tca6507_leds_match[] = { { .compatible = "ti,tca6507", }, {}, }; +MODULE_DEVICE_TABLE(of, of_tca6507_leds_match); #else static struct tca6507_platform_data * -- 2.4.3