ath9k-hmac/backports-3.12.8-1/compat/backports.h

15 lines
371 B
C
Raw Normal View History

2016-09-26 13:44:25 +00:00
#ifndef LINUX_BACKPORTS_PRIVATE_H
#define LINUX_BACKPORTS_PRIVATE_H
#include <linux/version.h>
#ifdef CPTCFG_BACKPORT_BUILD_DMA_SHARED_BUFFER
int __init dma_buf_init(void);
void __exit dma_buf_deinit(void);
#else
static inline int __init dma_buf_init(void) { return 0; }
static inline void __exit dma_buf_deinit(void) { }
#endif
#endif /* LINUX_BACKPORTS_PRIVATE_H */