X-Git-Url: https://git.openfabrics.org/?p=~tnikolova%2Fcompat%2F.git;a=blobdiff_plain;f=include%2Flinux%2Fcompat-3.2.h;h=7f4338c7b8a6c6fe052db98724bfda020e3199a7;hp=b915ffce1dd84a0eb24d8bbce021c9263e647d35;hb=032fbe832ce88ef19c4f872cc43f9d2aeac5343e;hpb=c633c3aacb2206f337c95a5ed72b83a8750fc966 diff --git a/include/linux/compat-3.2.h b/include/linux/compat-3.2.h index b915ffc..7f4338c 100644 --- a/include/linux/compat-3.2.h +++ b/include/linux/compat-3.2.h @@ -147,9 +147,11 @@ static inline char *hex_byte_pack(char *buf, u8 byte) * boilerplate. Each module may only use this macro once, and * calling it replaces module_init() and module_exit() */ +#ifndef module_platform_driver #define module_platform_driver(__platform_driver) \ module_driver(__platform_driver, platform_driver_register, \ platform_driver_unregister) +#endif #define dma_zalloc_coherent LINUX_BACKPORT(dma_zalloc_coherent) static inline void *dma_zalloc_coherent(struct device *dev, size_t size,