diff options
author | Alan Cox <alan@linux.intel.com> | 2009-08-07 22:24:08 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 23:02:13 +0400 |
commit | 577092ac155005ecb3a1385d628ef27fc9b52b72 (patch) | |
tree | dee0b5cd6ec1c4d42a5180a0d44d2dd665f7b134 /drivers/staging/sep/sep_driver_api.h | |
parent | 7913c21a25a9d54b093bed3522d35b188aadf6a4 (diff) | |
download | linux-577092ac155005ecb3a1385d628ef27fc9b52b72.tar.xz |
Staging: sep: use O_NDELAY instead of magic APIs
Open is still completely bogus in this driver but we'll tackle that later -
for now fix the bogus API
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/sep/sep_driver_api.h')
-rw-r--r-- | drivers/staging/sep/sep_driver_api.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/sep/sep_driver_api.h b/drivers/staging/sep/sep_driver_api.h index c9f4e56057fb..08b4c2418506 100644 --- a/drivers/staging/sep/sep_driver_api.h +++ b/drivers/staging/sep/sep_driver_api.h @@ -83,9 +83,6 @@ /* init sep command */ #define SEP_IOCSEPINIT _IO(SEP_IOC_MAGIC_NUMBER , 13) -/* set non blocking mode */ -#define SEP_IOCSETAPIMODE _IO(SEP_IOC_MAGIC_NUMBER , 14) - /* end transaction command */ #define SEP_IOCENDTRANSACTION _IO(SEP_IOC_MAGIC_NUMBER , 15) @@ -147,14 +144,6 @@ struct sep_driver_realloc_cache_resident_t { unsigned long new_base_addr; }; -/* - set api mode command struct -*/ -struct sep_driver_set_api_mode_t { - /* mode to set - 1 - blocking, 0 - non-blocking */ - unsigned long mode; -}; - struct sep_driver_alloc_t { /* virtual address of allocated space */ unsigned long offset; |