# \[PATCH\] video: fbdev: cirrusfb: Make cirrusfb\_zorro\_unregister() static

- From: Geert Uytterhoeven \<geert@linux-m68k.org\>
- Date: 2022-07-11 15:39:38 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2022/07/1854632
- Thread: https://ratatoskr.run/linux-fbdev/2022/07/1854632/t.md

```text
cirrusfb_zorro_unregister() is only used locally, hence make it static.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/video/fbdev/cirrusfb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/fbdev/cirrusfb.c b/drivers/video/fbdev/cirrusfb.c
index 51e072c03e1c670b..a41a75841e10ef06 100644
--- a/drivers/video/fbdev/cirrusfb.c
+++ b/drivers/video/fbdev/cirrusfb.c
@@ -2301,7 +2301,7 @@ static int cirrusfb_zorro_register(struct zorro_dev *z,
 	return error;
 }
 
-void cirrusfb_zorro_unregister(struct zorro_dev *z)
+static void cirrusfb_zorro_unregister(struct zorro_dev *z)
 {
 	struct fb_info *info = zorro_get_drvdata(z);
 
-- 
2.25.1

```
