Skip to content

Commit

Permalink
Staging: dt3155.h: remove #ifdef
Browse files Browse the repository at this point in the history
We are in the kernel now, don't check to see if we are not.

Cc: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Scott Smedley <ss@aao.gov.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed May 11, 2010
1 parent 7d4984d commit e43a0ed
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/staging/dt3155/dt3155.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,8 @@ MA 02111-1307 USA
#ifndef _DT3155_INC
#define _DT3155_INC

#ifdef __KERNEL__
#include <linux/types.h>
#include <linux/time.h> /* struct timeval */
#else
#include <sys/ioctl.h>
#include <sys/param.h>
#include <sys/time.h>
#include <unistd.h>
#endif


#define TRUE 1
Expand Down

0 comments on commit e43a0ed

Please sign in to comment.