/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to driver/compat.h

  • Committer: Suren A. Chilingaryan
  • Date: 2016-02-28 13:50:47 UTC
  • Revision ID: csa@suren.me-20160228135047-kxem2n27a214vlac
Support emulation mode without real hardware

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
#ifndef _COMPAT_H
11
11
#define _COMPAT_H
12
12
 
 
13
/*
 
14
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0)
 
15
# error "Linux 3.0 and latter are supported"
 
16
#endif
 
17
*/
 
18
 
13
19
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)
14
20
# define __devinit
15
21
# define __devexit