From patchwork Thu Jun 12 08:16:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Zimmermann X-Patchwork-Id: 896286 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 192EA21B8F8 for ; Thu, 12 Jun 2025 08:22:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749716533; cv=none; b=AQ9bHQmXKgB+wqxqMfRhSH7TSNxb87s4Kd7Wg1yfMGTvzPUeUhvmdyUG5SdUSMSZYjJWuKT5ILmS0NtkjPSgYH+B5FUTyy92T9kbcfpqJ6VAa9KADch7ZWWNUG98edHbZqiUntGElQJ5YNaWUU2KUTQMnhgd2F1eOY2vQwLo2E4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749716533; c=relaxed/simple; bh=q+Xm4jsyevEVDRnfjgZlpq4Hp2sb9VaiVqAMyZSXbWE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=S+kJIUdrjBIo6aRoIBckx7vr6DG7BMMYP9jlzphbsRNLgdiVy11aG47UZcqfOKifsYrIAs5x178mPMHjLEzTKtsZw1/aWgjYL6iNaa55DcGryc6tMIxkgxY5M1FWEmybXHFQg4HuacSIhHJOL9sdFa8boVFX/dzArNYxnlyJJjY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=aadpD+mf; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=xAG0w6Iz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=aadpD+mf; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=xAG0w6Iz; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="aadpD+mf"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="xAG0w6Iz"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="aadpD+mf"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="xAG0w6Iz" Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 5A4591F851; Thu, 12 Jun 2025 08:21:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1749716489; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nmVFMpP/GXhbKkpqKG2hAByJ9KsDa77YqgOJGdOJMdM=; b=aadpD+mfu4t3O18+k/qB35yjQFiEdM9g178HbSwZRR/K3ixa/ICo+hwgcdxoBnORKOLnhc MtcZxPqUPhZ1tUGYX/Qm/6xqHvJSHBOM17iY0ivwRcXsqSV4OIKLGXwyo9k04iA2j41Z/b 1L9L2omsVpRcPGw1ij1aZ2gvrPjYOV8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1749716489; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nmVFMpP/GXhbKkpqKG2hAByJ9KsDa77YqgOJGdOJMdM=; b=xAG0w6Izo5gUZ7AC4VSNprmMHLxsSv5dGwLWeBQjS8ExhdZPpX1Nvel+e67//z0CEYCzlC PD066QSQCesRNTBw== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1749716489; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nmVFMpP/GXhbKkpqKG2hAByJ9KsDa77YqgOJGdOJMdM=; b=aadpD+mfu4t3O18+k/qB35yjQFiEdM9g178HbSwZRR/K3ixa/ICo+hwgcdxoBnORKOLnhc MtcZxPqUPhZ1tUGYX/Qm/6xqHvJSHBOM17iY0ivwRcXsqSV4OIKLGXwyo9k04iA2j41Z/b 1L9L2omsVpRcPGw1ij1aZ2gvrPjYOV8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1749716489; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nmVFMpP/GXhbKkpqKG2hAByJ9KsDa77YqgOJGdOJMdM=; b=xAG0w6Izo5gUZ7AC4VSNprmMHLxsSv5dGwLWeBQjS8ExhdZPpX1Nvel+e67//z0CEYCzlC PD066QSQCesRNTBw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 06E0613A6D; Thu, 12 Jun 2025 08:21:29 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id 8OxPAAmOSmgILAAAD6G6ig (envelope-from ); Thu, 12 Jun 2025 08:21:29 +0000 From: Thomas Zimmermann To: deller@gmx.de, soci@c64.rulez.org, simona@ffwll.ch, linux@armlinux.org.uk, FlorianSchandinat@gmx.de, alchark@gmail.com, krzk@kernel.org Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Thomas Zimmermann Subject: [PATCH v2 11/14] fbdev/pxafb: Unexport symbol Date: Thu, 12 Jun 2025 10:16:34 +0200 Message-ID: <20250612081738.197826-12-tzimmermann@suse.de> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250612081738.197826-1-tzimmermann@suse.de> References: <20250612081738.197826-1-tzimmermann@suse.de> Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Spamd-Result: default: False [-2.80 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; RCPT_COUNT_TWELVE(0.00)[12]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,suse.de:email,suse.de:mid]; FREEMAIL_TO(0.00)[gmx.de,c64.rulez.org,ffwll.ch,armlinux.org.uk,gmail.com,kernel.org]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; R_RATELIMIT(0.00)[to_ip_from(RLeer19tzumyaughgdh7h6uhe9)]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FREEMAIL_ENVRCPT(0.00)[gmail.com,gmx.de] X-Spam-Level: X-Spam-Flag: NO X-Spam-Score: -2.80 Fix the compile-time warning drivers/video/fbdev/pxafb.c: warning: EXPORT_SYMBOL() is used, but #include is missing The affected symbol is not used anywhere, so remove the function entirely. v2: - remove unused functions (Helge) Signed-off-by: Thomas Zimmermann Reviewed-by: Helge Deller --- drivers/video/fbdev/pxafb.c | 17 ++--------------- include/linux/platform_data/video-pxafb.h | 1 - 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/drivers/video/fbdev/pxafb.c b/drivers/video/fbdev/pxafb.c index ee6da5084242..baf87f34cc24 100644 --- a/drivers/video/fbdev/pxafb.c +++ b/drivers/video/fbdev/pxafb.c @@ -1030,9 +1030,8 @@ static inline unsigned int get_pcd(struct pxafb_info *fbi, /* * Some touchscreens need hsync information from the video driver to - * function correctly. We export it here. Note that 'hsync_time' and - * the value returned from pxafb_get_hsync_time() is the *reciprocal* - * of the hsync period in seconds. + * function correctly. We export it here. Note that 'hsync_time' is + * the *reciprocal* of the hsync period in seconds. */ static inline void set_hsync_time(struct pxafb_info *fbi, unsigned int pcd) { @@ -1048,18 +1047,6 @@ static inline void set_hsync_time(struct pxafb_info *fbi, unsigned int pcd) fbi->hsync_time = htime; } -unsigned long pxafb_get_hsync_time(struct device *dev) -{ - struct pxafb_info *fbi = dev_get_drvdata(dev); - - /* If display is blanked/suspended, hsync isn't active */ - if (!fbi || (fbi->state != C_ENABLE)) - return 0; - - return fbi->hsync_time; -} -EXPORT_SYMBOL(pxafb_get_hsync_time); - static int setup_frame_dma(struct pxafb_info *fbi, int dma, int pal, unsigned long start, size_t size) { diff --git a/include/linux/platform_data/video-pxafb.h b/include/linux/platform_data/video-pxafb.h index 6333bac166a5..38c24c77ba43 100644 --- a/include/linux/platform_data/video-pxafb.h +++ b/include/linux/platform_data/video-pxafb.h @@ -150,7 +150,6 @@ struct pxafb_mach_info { }; void pxa_set_fb_info(struct device *, struct pxafb_mach_info *); -unsigned long pxafb_get_hsync_time(struct device *dev); /* smartpanel related */ #define SMART_CMD_A0 (0x1 << 8)