summaryrefslogtreecommitdiff
path: root/backport/compat/compat-2.6.34.h
blob: b36b441a2a825f6a94e6354374332620d1ee7c77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef LINUX_26_34_COMPAT_PRIVATE_H
#define LINUX_26_34_COMPAT_PRIVATE_H

#include <linux/version.h>

#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34))

#include <linux/mmc/sdio_func.h>

void backport_init_mmc_pm_flags(void);

#else /* Kernels >= 2.6.34 */

static inline void backport_init_mmc_pm_flags(void)
{
}

#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)) */

#endif /* LINUX_26_34_COMPAT_PRIVATE_H */