From patchwork Thu Jan 7 13:26:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1423278 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=s4FtSDlD; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DBRpR0Jpgz9sVk for ; Fri, 8 Jan 2021 00:26:30 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2DC4A82846; Thu, 7 Jan 2021 14:26:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="s4FtSDlD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A16FF82859; Thu, 7 Jan 2021 14:26:17 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 18FCA82844 for ; Thu, 7 Jan 2021 14:26:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x62b.google.com with SMTP id w1so9564182ejf.11 for ; Thu, 07 Jan 2021 05:26:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=pYczNVu+3PfLry0lZ1chAfEM4n9l0lySCIe9HS/988s=; b=s4FtSDlD6Kczt3QvRXXI7iBOiJF/iAdt2DS0vhUzHg2qgEVxIjWfLw8qv10hFsfTqY bpf6CJ/8L1jn9oezxSDfZo5UhlY9D/aNRm/RQ5Z/Pr9uHpo3SCwcxt15tayHeZD3Ijep /AqPOtRDDpmPFap9DExkjegJHubS/Flqx1w2fVStlI2K1bDlrdgvEui3aaaNiEOjg7jA hId3n4Uv/uUvq2AKG82szHQcujzFzDsfXw/3i3lk4ritZS0fnXhfhEReEccBfVeei6Ew 3t1CLojmgsUbVS27XAc3NZ9htqzMAA5CJ+YL4+XZhmkitlx+ekPpf6d1koZANPr7xrua WctA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=pYczNVu+3PfLry0lZ1chAfEM4n9l0lySCIe9HS/988s=; b=N47nmzjbujdsFLdJpgc/sJRBwf3J250HoEuc1m+U0EtRBn+CQ+7+QJK923t5zAotQ3 gkuVqNhCfQ3P68Q4hqPZnOe0MjiDguNDU29ncp1nUiJn7sSUYAVdgiHmrbOYBV0tc/ly yUqVbdKO3GrbqobyD9cXMNLS10v+0Kh6St/DiTq50VJS7RImfnCtv7AVss1laSHEhUob yLfL3qC6gWPi+MK+V67cJebIhbqU5aJ6KHKhM0/DAoVUs6FwK4/MaPObTcQUSi6HpWdd 92b2SF7SweZ2xV9rMeGpNrPreHr9Ha47A/p9IDSmQh2PIrZCSKaQoL/k55c+JGMhe8St MGVQ== X-Gm-Message-State: AOAM530lkdKgaKjl7QC/MMqvtMGY84P6crHeLCqWk6o/GTqEFWpJiN9k NBNlFr6sU76cuRugGcrj+97VVEtckn9A/Lv0 X-Google-Smtp-Source: ABdhPJwxsiG1sl102dWw7wCLOpubz7UV1DRCNEvJXOQZCHR8eAc8rUiHtmoyFX2pWeh1LIoePX7Mig== X-Received: by 2002:a17:906:f9d7:: with SMTP id lj23mr6534897ejb.266.1610025973523; Thu, 07 Jan 2021 05:26:13 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id x6sm2667158edl.67.2021.01.07.05.26.12 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Jan 2021 05:26:13 -0800 (PST) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com, Simon Glass Cc: Anatolij Gustschin Subject: [PATCH 1/2] video: seps525: Align driver with latest treewide changes Date: Thu, 7 Jan 2021 14:26:08 +0100 Message-Id: X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean Some structures/functions have been renamed which are not reflected in this driver. Commit 8a8d24bdf174 ("dm: treewide: Rename ..._platdata variables to just ..._plat"), commit c69cda25c9b5 ("dm: treewide: Rename dev_get_platdata() to dev_get_plat()"), commit caa4daa2ae3d ("dm: treewide: Rename 'platdata' variables to just 'plat'") and commit 41575d8e4c33 ("dm: treewide: Rename auto_alloc_size members to be shorter") are describing these changes. Signed-off-by: Michal Simek Reviewed-by: Simon Glass --- Driver was developed based on master branch and next got more changes. --- drivers/video/seps525.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/seps525.c b/drivers/video/seps525.c index 369e5e6afc87..74c8721e1e11 100644 --- a/drivers/video/seps525.c +++ b/drivers/video/seps525.c @@ -299,7 +299,7 @@ static int seps525_probe(struct udevice *dev) static int seps525_bind(struct udevice *dev) { - struct video_uc_platdata *plat = dev_get_uclass_platdata(dev); + struct video_uc_plat *plat = dev_get_uclass_plat(dev); plat->size = WIDTH * HEIGHT * 16; @@ -320,8 +320,8 @@ U_BOOT_DRIVER(seps525_video) = { .id = UCLASS_VIDEO, .of_match = seps525_ids, .ops = &seps525_ops, - .platdata_auto_alloc_size = sizeof(struct video_uc_platdata), + .plat_auto = sizeof(struct video_uc_plat), .bind = seps525_bind, .probe = seps525_probe, - .priv_auto_alloc_size = sizeof(struct seps525_priv), + .priv_auto = sizeof(struct seps525_priv), };