From: jsg Date: Tue, 9 Jan 2024 05:49:44 +0000 (+0000) Subject: inline -> static inline ; fixes sparc64 build X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d99c73b1064bce2991f38dd56a334705c3b9bf85;p=openbsd inline -> static inline ; fixes sparc64 build --- diff --git a/sys/dev/pci/drm/include/linux/platform_device.h b/sys/dev/pci/drm/include/linux/platform_device.h index b144add99f0..16e2a80fea9 100644 --- a/sys/dev/pci/drm/include/linux/platform_device.h +++ b/sys/dev/pci/drm/include/linux/platform_device.h @@ -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;