Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1613732imm; Sat, 2 Jun 2018 05:06:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK0zYnbzh2vXB2Sgrz9Ob/xxVie0IxNJn+Oxk40oriALalAF9J3q1whwDT9Y3zljZ50rCN8 X-Received: by 2002:a62:2281:: with SMTP id p1-v6mr14487980pfj.53.1527941213167; Sat, 02 Jun 2018 05:06:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527941213; cv=none; d=google.com; s=arc-20160816; b=gbHD5Zukk0fnJyZwaKJ/pQCZo3ZriUST5UkdO/7WpXqvdmGlm/N7zF8AksPMRIszni sr4O8t5xA1IxfxOptx3Y56RSobNmXWpL3iTMVeiQWK3/+FMVieWh8YFs0vRG9ytoEbTg bOjcqM63s0uS+Nr4p5Pn5lj5WGmIWo59mLuXevFdWAq1fbBZvbMF7Ehn2S86Wp1niRmM k93M//cgmq5zov2Rd35RUZvmniCFRJhP20wMfa+usjQIg8CEfDYJEVh4Dhbq8cHJKnWU fbJMGBo2yq/mzILGkWXcz8AOBAjfg5ciGaOAT7CAUawA2kaC7zmkIoxnUZ97UMEQXNDK A6Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=mw4e1+C+XH74axbFTn11Tw4IAYBoMUACjSLtnfOptRo=; b=U1eJzBJRATiKHyfV1qoZ9xtgXh6cbtwH5c5kdvpndCIiy6ABKac5Q7DgaTvkqLJBFZ FM/pkIGYcBBOW3Urm4b1MfLM329seEW+NR/ie4Cz1W9Pa4zSlfQqJ0KzSkRmKNoIttot LGinWkdBlqwPMq9bcLh1hNZBZRgybzheqh4sTgA5BOg++87m+7LW4b0ycZ76C2QAr3vQ No13g8I6vLXoGOnwIWxCv/zzNf7ww3IhErCWRg1GIBL8ovPT3D2UZDjb+GVS81bZRqQo Vv8EsE8cSiMjSWty44JcoUjrhbNl/Z+DN84105dYS2hrkXVUSgWlUCimvyzRQAXK5DF7 Grtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=EpWdAMCX; 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 k8-v6si33449279plt.410.2018.06.02.05.06.37; Sat, 02 Jun 2018 05:06:53 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=EpWdAMCX; 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 S1751329AbeFBMEd (ORCPT + 99 others); Sat, 2 Jun 2018 08:04:33 -0400 Received: from conssluserg-03.nifty.com ([210.131.2.82]:20381 "EHLO conssluserg-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750740AbeFBMEc (ORCPT ); Sat, 2 Jun 2018 08:04:32 -0400 Received: from mail-ua0-f174.google.com (mail-ua0-f174.google.com [209.85.217.174]) (authenticated) by conssluserg-03.nifty.com with ESMTP id w52C4TQR012494; Sat, 2 Jun 2018 21:04:29 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com w52C4TQR012494 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1527941070; bh=mw4e1+C+XH74axbFTn11Tw4IAYBoMUACjSLtnfOptRo=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=EpWdAMCXc7UHmK5awI8air0o76cinF71Jx99REGtvz26wFzxzz5io0uDsTruyvTtJ RVD6A0YWR4ZnUZcSe4bL+c+bmHiHQw9zvIv4uk+QFYx/igo7D+ZYnZhkr1Gc6UvMgz 0BHHoIFCF3caOHbexPHwCSuslvF7V3ToML6qnutBURMEmM0cou2VcsBo0ckKaLdsxN D8F5caAYohZIYDVE4QoYpSxhpbli9e3dEO+Q++4baKgfhDF70lbUTonOxLKENnRcNx bArBz4KsLE75Hz80fHIaLijVWEZFRv6PbXpWhYWoOO9NfzImIUgz66dN+ZETHxxHqC 8RPcwbTglOvtA== X-Nifty-SrcIP: [209.85.217.174] Received: by mail-ua0-f174.google.com with SMTP id g9-v6so19120566uak.7; Sat, 02 Jun 2018 05:04:29 -0700 (PDT) X-Gm-Message-State: APt69E2Hmt4C7UNeykONNzC3Kpkz96s7xKdIs2RBldTwLgG4ejFWiL7k 3oHT88VdZYH0yFA+fNnBGStmftgsBNASJdWglAg= X-Received: by 2002:ab0:5061:: with SMTP id z30-v6mr5929617uaz.82.1527941068556; Sat, 02 Jun 2018 05:04:28 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:20ab:0:0:0:0:0 with HTTP; Sat, 2 Jun 2018 05:03:48 -0700 (PDT) In-Reply-To: <20180530090946.1635-9-suzuki.katsuhiro@socionext.com> References: <20180530090946.1635-1-suzuki.katsuhiro@socionext.com> <20180530090946.1635-9-suzuki.katsuhiro@socionext.com> From: Masahiro Yamada Date: Sat, 2 Jun 2018 21:03:48 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 8/8] media: uniphier: add LD20 adapter driver for ISDB To: Katsuhiro Suzuki Cc: Mauro Carvalho Chehab , linux-media@vger.kernel.org, Masami Hiramatsu , Jassi Brar , linux-arm-kernel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-05-30 18:09 GMT+09:00 Katsuhiro Suzuki : > This patch adds UniPhier LD20 DVB adapter driver for ISDB-S/T > that equipments SONY SUT-PJ series using CXD2858 tuner and Socionext > MN884434 demodulator. > > Signed-off-by: Katsuhiro Suzuki > --- > drivers/media/platform/uniphier/Kconfig | 10 + > drivers/media/platform/uniphier/Makefile | 1 + > .../platform/uniphier/ld20-mn884434-helene.c | 274 ++++++++++++++++++ > 3 files changed, 285 insertions(+) > create mode 100644 drivers/media/platform/uniphier/ld20-mn884434-helene.c > > + > +static const struct of_device_id uniphier_hsc_adapter_of_match[] = { > + { > + .compatible = "socionext,uniphier-ld20-mn884434-helene", > + .data = &ld20_mn884434_helene_spec, > + }, > + {}, > +}; > +MODULE_DEVICE_TABLE(of, uniphier_hsc_adapter_of_match); > + > +static struct platform_driver uniphier_hsc_adapter_driver = { > + .driver = { > + .name = "uniphier-ld20-isdb", > + .of_match_table = of_match_ptr(uniphier_hsc_adapter_of_match), > + }, > + .probe = uniphier_adapter_probe, > + .remove = uniphier_adapter_remove, > +}; > +module_platform_driver(uniphier_hsc_adapter_driver); > + > +MODULE_AUTHOR("Katsuhiro Suzuki "); > +MODULE_DESCRIPTION("UniPhier LD20 adapter driver for ISDB."); > +MODULE_LICENSE("GPL v2"); This is weird. From drivers/media/platform/uniphier/Makefile, obviously you link all the objects into the single module, uniphier-dvb.ko It contains zero, one, or two sets of MODULE_* depending on CONFIG options. - Zero MODULE_LICENSE / MODULE_AUTHOR / MODULE_DESCRIPTION if CONFIG_DVB_UNIPHIER_LD11_ISDB=n && CONFIG_DVB_UNIPHIER_LD20_ISDB=n - Two sets of MODULE_LICENSE / MODULE_AUTHOR / MODULE_DESCRIPTION if CONFIG_DVB_UNIPHIER_LD11_ISDB=y && CONFIG_DVB_UNIPHIER_LD20_ISDB=y What you can do is: - Split the module into core, ld11, ld20 or - Move the module tags and entry to hsc-core.c and leave only the data arrays in ld11, ld20. -- Best Regards Masahiro Yamada