diff options
author | Mark Allyn <mark.a.allyn@intel.com> | 2010-12-10 10:37:48 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-10 13:39:55 -0500 |
commit | bc657f6e9130108651915fe37624e47638c46e0f (patch) | |
tree | ee4709266519d35b18bac02d698893dcf882a3d7 | |
parent | e91eb2ff1f713837caebbb86a06974cd4b3e8e46 (diff) |
staging: sep: fix comments in sep_get_static_pool_addr_handler
Original comments were inaccurate
Signed-off-by: Mark Allyn <mark.a.allyn@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/sep/sep_driver.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/sep/sep_driver.c b/drivers/staging/sep/sep_driver.c index 2681fcf0c34d..ac5d56943d4b 100644 --- a/drivers/staging/sep/sep_driver.c +++ b/drivers/staging/sep/sep_driver.c | |||
@@ -2545,10 +2545,8 @@ static int sep_free_dma_tables_and_dcb(struct sep_device *sep, bool isapplet, | |||
2545 | /** | 2545 | /** |
2546 | * sep_get_static_pool_addr_handler - get static pool address | 2546 | * sep_get_static_pool_addr_handler - get static pool address |
2547 | * @sep: pointer to struct sep_device | 2547 | * @sep: pointer to struct sep_device |
2548 | * @arg: parameters from user space application | ||
2549 | * | 2548 | * |
2550 | * This function sets the bus and virtual addresses of the static pool | 2549 | * This function sets the bus and virtual addresses of the static pool |
2551 | * and returns the virtual address | ||
2552 | */ | 2550 | */ |
2553 | static int sep_get_static_pool_addr_handler(struct sep_device *sep) | 2551 | static int sep_get_static_pool_addr_handler(struct sep_device *sep) |
2554 | { | 2552 | { |
@@ -3036,7 +3034,7 @@ static long sep_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) | |||
3036 | error = -EPERM; /* Not permitted on new chip */ | 3034 | error = -EPERM; /* Not permitted on new chip */ |
3037 | break; | 3035 | break; |
3038 | case SEP_IOCGETSTATICPOOLADDR: | 3036 | case SEP_IOCGETSTATICPOOLADDR: |
3039 | /* Get the physical and virtual addresses of the static pool */ | 3037 | /* Inform the SEP the bus address of the static pool */ |
3040 | error = sep_get_static_pool_addr_handler(sep); | 3038 | error = sep_get_static_pool_addr_handler(sep); |
3041 | break; | 3039 | break; |
3042 | case SEP_IOCENDTRANSACTION: | 3040 | case SEP_IOCENDTRANSACTION: |