1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * (C) 2004 Margit Schubert-While <margitsw@t-online.de> 4 */ 5 6 /* 7 * Compatibility header file to aid support of different kernel versions 8 */ 9 10 #ifdef PRISM54_COMPAT24 11 #include "prismcompat24.h" 12 #else /* PRISM54_COMPAT24 */ 13 14 #ifndef _PRISM_COMPAT_H 15 #define _PRISM_COMPAT_H 16 17 #include <linux/device.h> 18 #include <linux/firmware.h> 19 #include <linux/moduleparam.h> 20 #include <linux/workqueue.h> 21 #include <linux/compiler.h> 22 23 #ifndef __iomem 24 #define __iomem 25 #endif 26 27 #define PRISM_FW_PDEV &priv->pdev->dev 28 29 #endif /* _PRISM_COMPAT_H */ 30 #endif /* PRISM54_COMPAT24 */ 31