inline -> static inline ; fixes sparc64 build
authorjsg <jsg@openbsd.org>
Tue, 9 Jan 2024 05:49:44 +0000 (05:49 +0000)
committerjsg <jsg@openbsd.org>
Tue, 9 Jan 2024 05:49:44 +0000 (05:49 +0000)
sys/dev/pci/drm/include/linux/platform_device.h

index b144add..16e2a80 100644 (file)
@@ -29,19 +29,19 @@ extern struct bus_type platform_bus_type;
 void __iomem *
 devm_platform_ioremap_resource_byname(struct platform_device *, const char *);
 
-inline void
+static inline void
 platform_set_drvdata(struct platform_device *pdev, void *data)
 {
        dev_set_drvdata(&pdev->dev, data);
 }
 
-inline void *
+static inline void *
 platform_get_drvdata(struct platform_device *pdev)
 {
        return dev_get_drvdata(&pdev->dev);
 }
 
-inline int
+static inline int
 platform_driver_register(struct platform_driver *platform_drv)
 {
        return 0;