Module: xenomai-3
Branch: stable-3.0.x
Commit: ccfb012e7580ac2340a2de8f61cfccde2aabccd1
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=ccfb012e7580ac2340a2de8f61cfccde2aabccd1

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Nov 27 12:21:26 2015 +0100

cobalt/wrappers: fix backport prefix

---

 kernel/cobalt/include/asm-generic/xenomai/wrappers.h |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h 
b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h
index 0c5ce69..f43b8fb 100644
--- a/kernel/cobalt/include/asm-generic/xenomai/wrappers.h
+++ b/kernel/cobalt/include/asm-generic/xenomai/wrappers.h
@@ -24,7 +24,7 @@
 #error "CONFIG_IPIPE_LEGACY must be switched off"
 #endif
 
-#define XENO_BACKPORT(__sym) xeno_backport_ ##__sym
+#define COBALT_BACKPORT(__sym) __cobalt_backport_ ##__sym
 
 /*
  * To keep the #ifdefery as readable as possible, please:
@@ -61,7 +61,7 @@
 
 #ifdef CONFIG_PCI
 #define pci_enable_msix_range \
-       XENO_BACKPORT(pci_enable_msix_range)
+       COBALT_BACKPORT(pci_enable_msix_range)
 #ifdef CONFIG_PCI_MSI
 int pci_enable_msix_range(struct pci_dev *dev,
                        struct msix_entry *entries,
@@ -80,7 +80,7 @@ static inline int pci_enable_msix_range(struct pci_dev *dev,
 #include <linux/hwmon.h>
 
 #define dma_set_mask_and_coherent \
-       XENO_BACKPORT(dma_set_mask_and_coherent)
+       COBALT_BACKPORT(dma_set_mask_and_coherent)
 static inline int dma_set_mask_and_coherent(struct device *dev, u64 mask)
 {
        int rc = dma_set_mask(dev, mask);
@@ -91,14 +91,14 @@ static inline int dma_set_mask_and_coherent(struct device 
*dev, u64 mask)
 
 #ifdef CONFIG_HWMON
 #define hwmon_device_register_with_groups \
-       XENO_BACKPORT(hwmon_device_register_with_groups)
+       COBALT_BACKPORT(hwmon_device_register_with_groups)
 struct device *
 hwmon_device_register_with_groups(struct device *dev, const char *name,
                                void *drvdata,
                                const struct attribute_group **groups);
 
 #define devm_hwmon_device_register_with_groups \
-       XENO_BACKPORT(devm_hwmon_device_register_with_groups)
+       COBALT_BACKPORT(devm_hwmon_device_register_with_groups)
 struct device *
 devm_hwmon_device_register_with_groups(struct device *dev, const char *name,
                                void *drvdata,


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to