From e13e44d9a81da4bf77d9869db5b4764fc0811d9f Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Tue, 7 Feb 2017 23:04:11 +0100 Subject: backports: always use new version compare macros Signed-off-by: Johannes Berg --- patches/0066-remove-netdev_ieee802154_ptr/cfg802154.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'patches/0066-remove-netdev_ieee802154_ptr') diff --git a/patches/0066-remove-netdev_ieee802154_ptr/cfg802154.patch b/patches/0066-remove-netdev_ieee802154_ptr/cfg802154.patch index 25bf812f..04fd2394 100644 --- a/patches/0066-remove-netdev_ieee802154_ptr/cfg802154.patch +++ b/patches/0066-remove-netdev_ieee802154_ptr/cfg802154.patch @@ -4,7 +4,7 @@ #define to_phy(_dev) container_of(_dev, struct wpan_phy, dev) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) ++#if LINUX_VERSION_IS_GEQ(3,19,0) static inline int wpan_dev_hard_header(struct sk_buff *skb, struct net_device *dev, const struct ieee802154_addr *daddr, -- cgit v1.2.3