From patchwork Thu Nov 9 22:01:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13451826 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2BE3EC4332F for ; Thu, 9 Nov 2023 22:02:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 12ED810E930; Thu, 9 Nov 2023 22:02:23 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by gabe.freedesktop.org (Postfix) with ESMTPS id B935010E933 for ; Thu, 9 Nov 2023 22:02:11 +0000 (UTC) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r1D6D-0004Vf-Cq; Thu, 09 Nov 2023 23:02:05 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r1D6C-007sDH-9I; Thu, 09 Nov 2023 23:02:04 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1r1D6B-00GL6M-W7; Thu, 09 Nov 2023 23:02:04 +0100 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Helge Deller , Geert Uytterhoeven Subject: [PATCH 0/2] fb: amifb: Convert to platform remove callback returning void Date: Thu, 9 Nov 2023 23:01:52 +0100 Message-ID: <20231109220151.10654-1-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.42.0.586.gbc5204569f7d.dirty MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=795; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=FLvQaW8NDzDUC0VV2BZU0TZE/kUbDQHy+tt3/U2DflM=; b=owGbwMvMwMXY3/A7olbonx/jabUkhlTfsPOpDAaKBb+ucXfaFX7SeTy//n3xxrsp28XLGWQM+ Pd5fBbrZDRmYWDkYpAVU2Sxb1yTaVUlF9m59t9lmEGsTCBTGLg4BWAiUV3s/2u1tDlnCYRznPMu CGaK4ehoCvbUbWMpuF62V2h5x/vI7A9iybt9OBu1ytjPaZUF+fQemcxhfnWnetGD5PwjtdYFibv 5W99EvvJ68Ift5Km1qS3rvrv/LNTIcOAt7eRQP5HoPOHR9N0zjm3NKZL/d//mPgb7JoslXxxkjz 6y2zf3d38P+7TWAwabNvrmHC2f/aN9JsfdJf2tpg/m6fgXHdb5zantP09cMvF45KmZtVEnP7gpe y3l/y2t+XyfdV2ivrHBHycbzxUfGbxiHunME3LLsEp18nnXkZsZ/62iwXB7zatZOxjaBb7GW08O V1bW1u9bG9kyiXVKQuOJ6FTHsir3K083xjVlhh+YcwgA X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: dri-devel@lists.freedesktop.org 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: linux-fbdev@vger.kernel.org, kernel@pengutronix.de, Javier Martinez Canillas , dri-devel@lists.freedesktop.org, Thomas Zimmermann , Atul Raut , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hello, in the series https://lore.kernel.org/20231107091740.3924258-1-u.kleine-koenig@pengutronix.de I suggested to replace module_platform_driver_probe() in the amifb driver. Geert Uytterhoeven objected because the amiga platform has very little RAM. This series implements the alternative: Mark the driver struct with __refdata to suppress the section warning. Patch #2 is just a rebase from the above series. Best regards Uwe Uwe Kleine-König (2): fb: amifb: Mark driver struct with __refdata to prevent section mismatch warning fb: amifb: Convert to platform remove callback returning void drivers/video/fbdev/amifb.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) base-commit: aba6ab57a910ad4b940c2024d15f2cdbf5b7f76b