Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4031671imm; Mon, 11 Jun 2018 06:01:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLe25FkrkTmM0YfVZSxHTPlKm/EIVomkiZs3llAOsyVLKF8YTMce3Jy0MpoppiU8yKCCIO5 X-Received: by 2002:a63:5f0c:: with SMTP id t12-v6mr14185318pgb.95.1528722104226; Mon, 11 Jun 2018 06:01:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528722104; cv=none; d=google.com; s=arc-20160816; b=dRBzHDCjo1jC+eDeFvfXqMW+hHntGyjiHBfGMC2/AVwfCQ4OWMExxiGnZKcR3hdb6l fKA0It6Pl1hGbMV6944d9bXJXonef1C55CKXUkqzEa6nEgiV6ttXFA4XB5L3hbp/Nb6t Df4MSkWaHAY0MoliTKaSVmhAg2u6otSVqmLrTe7x9usDwYoaVRfa26Kw0J6OkWTKOnQ1 4hsC6ml6kAXzAo872zX4gt093FwBcbm1tpkouQjgs3o0iHU117VnHrckHZdvCovhphS5 xa0iCbKLDyMk0zzNi/ZAU6cnQ7aoq2ajgs67/8M25Avhv/imk3GR8efMo34Vdk6stvkG bOaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:arc-authentication-results; bh=uSMaz5ym/s41fUlD0W/ErrjTDBO1D47zGfXkkLwsg5o=; b=PWc47QK0nDoCATUKZ70TZ67DCFLVsXw+YUGze0/6olVwySZteIFKU0BA6OuiBkApq0 Kl4GpR152JrZDbgBSxRigQN9L1RrkVEg7VFw31SXO2gV6t36tz4vmLelWfIjhqTQEHud zWhGHvg1zlmbISK7pfbe0OO2hqWTtVAr8bieA+0gf+FVtWqJG6QsiTMH+KVh3rIzVDau HwD+SGozjC4g0eOjPkFsEl0pJjpgx7Zk0ZUJZp3joRWhDLbyyI9eW3Qhbs00qK78nSrg 27t+zwYIsHww2Kk6VgVQgusf60xY75JWmEsDHqLi5QkT0wXXZdiK2Is57CkCyw9LH60k Mxgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v16-v6si47055056plo.186.2018.06.11.06.01.29; Mon, 11 Jun 2018 06:01:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933187AbeFKNBF convert rfc822-to-8bit (ORCPT + 99 others); Mon, 11 Jun 2018 09:01:05 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:52073 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932607AbeFKNBD (ORCPT ); Mon, 11 Jun 2018 09:01:03 -0400 Received: from marcel-macpro.fritz.box (p5B3D24B5.dip0.t-ipconnect.de [91.61.36.181]) by mail.holtmann.org (Postfix) with ESMTPSA id 317A3CF185; Mon, 11 Jun 2018 15:07:44 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: [PATCH v2 15/24] net: qualcomm: MODULE_DEVICE_TABLE(serdev) From: Marcel Holtmann In-Reply-To: <20180611115240.32606-16-ricardo.ribalda@gmail.com> Date: Mon, 11 Jun 2018 15:01:01 +0200 Cc: LKML , linux-serial@vger.kernel.org, Lino Sanfilippo , "David S. Miller" , Stefan Wahren , Rob Herring , Johan Hovold , netdev@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: References: <20180611115240.32606-1-ricardo.ribalda@gmail.com> <20180611115240.32606-16-ricardo.ribalda@gmail.com> To: Ricardo Ribalda Delgado X-Mailer: Apple Mail (2.3445.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ricardo, > Export serdev table to the module header, allowing module autoload via > udev/modprobe. > > Cc: Lino Sanfilippo > Cc: David S. Miller > Cc: Stefan Wahren > Cc: Rob Herring > Cc: Johan Hovold > Cc: netdev@vger.kernel.org > Signed-off-by: Ricardo Ribalda Delgado > --- > drivers/net/ethernet/qualcomm/qca_uart.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/net/ethernet/qualcomm/qca_uart.c b/drivers/net/ethernet/qualcomm/qca_uart.c > index db6068cd7a1f..6d2ac6cae63f 100644 > --- a/drivers/net/ethernet/qualcomm/qca_uart.c > +++ b/drivers/net/ethernet/qualcomm/qca_uart.c > @@ -405,6 +405,12 @@ static void qca_uart_remove(struct serdev_device *serdev) > free_netdev(qca->net_dev); > } > > +static struct serdev_device_id qca_uart_serdev_id[] = { > + { QCAUART_DRV_NAME, }, > + {} > +}; > +MODULE_DEVICE_TABLE(serdev, qca_uart_serdev_id); > + > static struct serdev_device_driver qca_uart_driver = { > .probe = qca_uart_probe, > .remove = qca_uart_remove, > @@ -412,6 +418,7 @@ static struct serdev_device_driver qca_uart_driver = { > .name = QCAUART_DRV_NAME, > .of_match_table = of_match_ptr(qca_uart_of_match), > }, > + .id_table = qca_uart_serdev_id, > }; the commit message is misleading me. If I build something with ACPI or DT support, then modinfo will show all modalias information for ACPI and DT compatible strings. What else does udev/modprobe actually need? Is something broken with the modalias export? Regards Marcel