From patchwork Thu Feb 20 12:07:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 183665 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp503706ile; Thu, 20 Feb 2020 04:16:14 -0800 (PST) X-Google-Smtp-Source: APXvYqyQBxpwZQmVlEOL2muHEtna+88FTG1noVfjORpcGIPq63DHgVfzeQ/eERQXJGC7gGD57Pzj X-Received: by 2002:a17:902:ff16:: with SMTP id f22mr29670995plj.229.1582200974145; Thu, 20 Feb 2020 04:16:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582200974; cv=none; d=google.com; s=arc-20160816; b=z4B9YVEo7nzD12i9rWQ/1whtLAMhAmdqll4x/RSlvI4BYIdNmKCQcwpXzi6rRQhB0P PN08VqdN6y5j+EuQRkIZwV6Vwf2TJFm8Zw4DBjXRrBHriXwAYM9JuaiJPaXdrC5rlV9o 2NBKNidAS54SDg+4coAiuObaTvZKQ2Y+Mmp6RNuXTcCfYq6cB9hOjuQbXHLjvCo6+9Br E6a8I9zwDpOeVsfS2nbio7IW9vkWbdcqTq0s34AxBq+4YDoAoaXjDjE3OpKfd4k9Vlqb esf6P7E3T4MQFv9RD2/5fACpq/TYUs23wcr2ykG/y5miLWmBea1j/qvhqgBg9j+4FkuD MNiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:references:cms-type:message-id:date:subject:to :from:dkim-signature:dkim-filter:delivered-to; bh=ZDH+o/d1AQrlag+gh4wbHneDUg/Yqye4j1pMjfSh69Q=; b=PiNoJkk+GKBTpcf9fZmkbvvY8ullM3pARHs9LCkrRMtmpQosWgOq1ectcafJLrHQyb eynK4qeua4Xm/PxqbwQ5XKhXBZvKVPSz9Gmk2WHZFpCgUrT7mq3jT0mu4xB7V64fSiHj edOaX1h7wISawDKQIbz4yegAKm4jy0grTxJWC1WDoafy9b6CnzEuo6jEsy2EjQExlQVB i9zXlCBx1tlCWkyiPjL+hMlme9CfMXo8gg9zQEo0+3YEs311M2/GwR1RJGCUtV2KVXdu kAZrIK6Ivwns3rdhhVqDXgD+HEsnromLTRq4IQUaqUKa6zLHfEXrcJZec4wm06hNqG0z sqqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=DadcEyzh; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id a23si1807794pjv.5.2020.02.20.04.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Feb 2020 04:16:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=DadcEyzh; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C48B96E8E1; Thu, 20 Feb 2020 12:16:10 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 535 seconds by postgrey-1.36 at gabe; Thu, 20 Feb 2020 12:16:09 UTC Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id C26666E8E1 for ; Thu, 20 Feb 2020 12:16:09 +0000 (UTC) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20200220120712euoutp0220724148b0ab72c41c175b30d3aed208~1GukmvK_53228632286euoutp02B for ; Thu, 20 Feb 2020 12:07:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20200220120712euoutp0220724148b0ab72c41c175b30d3aed208~1GukmvK_53228632286euoutp02B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1582200432; bh=hkx6DgbqTnvBPvF0imgPKHXt1K+ZrMslVa2DNLpq8VU=; h=From:To:Cc:Subject:Date:References:From; b=DadcEyzhMdXkRXPpXnP8TuSDGZR7+dR3r8M98i2Hyrih4/w9M5gU9LVoMfFNvaHbK xm8/eZ3GXQst0TslKw7sNDxk+atO3Oy1eajyPaFYhfCJE29Zdbx/31cHD5TKU0HQL+ Rin3ri9E25ysPHIwPD+JJwq4xHTm9tIaQX6FtBhU= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200220120712eucas1p11cf2aee6b05d393727274f6d2ce8cc56~1GukQuwJh1315513155eucas1p1t; Thu, 20 Feb 2020 12:07:12 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 08.A3.60679.0767E4E5; Thu, 20 Feb 2020 12:07:12 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200220120711eucas1p1f3ac819081ece4847b17c10c005dfa42~1Guj3QtCc2397823978eucas1p1L; Thu, 20 Feb 2020 12:07:11 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200220120711eusmtrp236ccf401cf92156fd2bfe8acbde1ff2d~1Guj2n-bY2094520945eusmtrp2m; Thu, 20 Feb 2020 12:07:11 +0000 (GMT) X-AuditID: cbfec7f4-0e5ff7000001ed07-4a-5e4e76709a9e Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 23.53.08375.F667E4E5; Thu, 20 Feb 2020 12:07:11 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200220120711eusmtip2b8fe826edcfc8e5319b15ce0b9b43158~1GujbG3dL1206312063eusmtip2-; Thu, 20 Feb 2020 12:07:11 +0000 (GMT) From: Marek Szyprowski To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH] drm/panel: ld9040: add MODULE_DEVICE_TABLE with SPI IDs Date: Thu, 20 Feb 2020 13:07:00 +0100 Message-Id: <20200220120700.12257-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPIsWRmVeSWpSXmKPExsWy7djP87oFZX5xBndmi1rcWneO1WLjjPWs Fle+vmezmHF+H5PF2iN32S1W/NzKaPFz1zwWB3aPnbPusnvc7z7O5LFk2lU2j74tqxg9Pm+S C2CN4rJJSc3JLEst0rdL4MpYOe0lS8EG9oqbp2ewNTAuZeti5OSQEDCRWPL6M1MXIxeHkMAK Rome7v+MEM4XRomWli6ozGdGiUmrv8O1nO2aBFW1nFHi7cKjzHAtXZ0zwarYBAwlut52gdki Am4STYdnsoIUMQvcYpRo3/0BLCEs4CHxqGUeK4jNIqAqcWXabxYQm1fAVmLJj01Q6+QlVm84 ALZBQuA6m8TsW5vYIRIuEpu+noOyhSVeHd8CZctI/N85nwmioZlR4uG5tewQTg+jxOWmGYwQ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gtQimD4mDk6pBsY+rsoQ3zhtm21V1Q8LtD3+TC7Y8f02SzOvhr1I6vTpcuutp3Rd+VL3vztv d9H2S/J3rh42LZ6lvuBd2dKPmXqZa38KTNbdaKQk6d12g33nVN61X31n2dpenufCp9l5NNqv 83bzYqP5Czmnz6uYzVJful/waf3ijULvoo/cl5PPCzbadSlDd4oSS3FGoqEWc1FxIgDJ3sQ4 WQIAAA== X-CMS-MailID: 20200220120711eucas1p1f3ac819081ece4847b17c10c005dfa42 X-Msg-Generator: CA X-RootMTR: 20200220120711eucas1p1f3ac819081ece4847b17c10c005dfa42 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200220120711eucas1p1f3ac819081ece4847b17c10c005dfa42 References: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrzej Hajda , Sam Ravnborg , Bartlomiej Zolnierkiewicz , Thierry Reding , Marek Szyprowski MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add proper MODULE_DEVICE_TABLE structure with SPI IDs to allow proper creation of SPI modalias string and fix autoloading module for this driver. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/panel/panel-samsung-ld9040.c | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.17.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/panel/panel-samsung-ld9040.c b/drivers/gpu/drm/panel/panel-samsung-ld9040.c index 3c52f15f7a1c..9bb2e8c7934a 100644 --- a/drivers/gpu/drm/panel/panel-samsung-ld9040.c +++ b/drivers/gpu/drm/panel/panel-samsung-ld9040.c @@ -373,6 +373,12 @@ static const struct of_device_id ld9040_of_match[] = { }; MODULE_DEVICE_TABLE(of, ld9040_of_match); +static const struct spi_device_id ld9040_ids[] = { + { "ld9040", }, + { /* sentinel */ } +}; +MODULE_DEVICE_TABLE(spi, ld9040_ids); + static struct spi_driver ld9040_driver = { .probe = ld9040_probe, .remove = ld9040_remove,