Commit 0b075713 authored by Ramesh Gupta's avatar Ramesh Gupta Committed by Hari Kanigeri

OMAP4 tesla header cleanup

This patch cleans up tesla header files
Signed-off-by: default avatarRamesh Gupta G <grgupta@ti.com>
parent 24e52c50
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
*/ */
struct notify_tesladrv_params{ struct notify_tesladrv_params {
int shared_addr; int shared_addr;
int shared_addr_size; int shared_addr_size;
int num_events; int num_events;
...@@ -73,11 +73,11 @@ struct notify_tesladrv_config { ...@@ -73,11 +73,11 @@ struct notify_tesladrv_config {
*/ */
int notify_tesladrv_register_event( int notify_tesladrv_register_event(
struct notify_driver_object *handle, struct notify_driver_object *handle,
short int proc_id, short int proc_id,
int event_no, int event_no,
fn_notify_cbck fn_notify_cbck, fn_notify_cbck fn_notify_cbck,
void *cbck_arg) ; void *cbck_arg) ;
/* /*
* func notify_mbxdrv_unregevent * func notify_mbxdrv_unregevent
...@@ -88,11 +88,11 @@ int notify_tesladrv_register_event( ...@@ -88,11 +88,11 @@ int notify_tesladrv_register_event(
*/ */
int notify_tesladrv_unregister_event( int notify_tesladrv_unregister_event(
struct notify_driver_object *handle, struct notify_driver_object *handle,
short int proc_id, short int proc_id,
int event_no, int event_no,
fn_notify_cbck fn_notify_cbck, fn_notify_cbck fn_notify_cbck,
void *cbck_arg) ; void *cbck_arg) ;
/* /*
* func notify_mbxdrv_sendevent * func notify_mbxdrv_sendevent
...@@ -104,10 +104,10 @@ int notify_tesladrv_unregister_event( ...@@ -104,10 +104,10 @@ int notify_tesladrv_unregister_event(
*/ */
int notify_tesladrv_sendevent(struct notify_driver_object *handle, int notify_tesladrv_sendevent(struct notify_driver_object *handle,
short int proc_id, short int proc_id,
int event_no, int event_no,
int payload, int payload,
short int wait_clear) ; short int wait_clear) ;
/* /*
* func notify_mbxdrv_disable * func notify_mbxdrv_disable
...@@ -129,7 +129,7 @@ void * notify_tesladrv_disable(struct notify_driver_object *handle, u16 proc_Id) ...@@ -129,7 +129,7 @@ void * notify_tesladrv_disable(struct notify_driver_object *handle, u16 proc_Id)
*/ */
int notify_tesladrv_restore(struct notify_driver_object *handle, int notify_tesladrv_restore(struct notify_driver_object *handle,
u32 key, u16 proc_id) ; u32 key, u16 proc_id) ;
/* /*
* func notify_mbxdrv_disable_event * func notify_mbxdrv_disable_event
...@@ -140,9 +140,9 @@ int notify_tesladrv_restore(struct notify_driver_object *handle, ...@@ -140,9 +140,9 @@ int notify_tesladrv_restore(struct notify_driver_object *handle,
*/ */
int notify_tesladrv_disable_event( int notify_tesladrv_disable_event(
struct notify_driver_object *handle, struct notify_driver_object *handle,
short int proc_id, short int proc_id,
int event_no) ; int event_no) ;
/* /*
* func notify_mbxdrv_enable_event * func notify_mbxdrv_enable_event
...@@ -153,9 +153,9 @@ int notify_tesladrv_disable_event( ...@@ -153,9 +153,9 @@ int notify_tesladrv_disable_event(
*/ */
int notify_tesladrv_enable_event( int notify_tesladrv_enable_event(
struct notify_driver_object *handle, struct notify_driver_object *handle,
short int proc_id, short int proc_id,
int event_no) ; int event_no) ;
...@@ -181,7 +181,7 @@ int notify_tesladrv_debug(struct notify_driver_object *handle) ; ...@@ -181,7 +181,7 @@ int notify_tesladrv_debug(struct notify_driver_object *handle) ;
*/ */
struct notify_driver_object * notify_tesladrv_create(char * driver_name, struct notify_driver_object * notify_tesladrv_create(char * driver_name,
const struct notify_tesladrv_params* params); const struct notify_tesladrv_params* params);
/* /*
* func notify_tesladrv_delete * func notify_tesladrv_delete
...@@ -190,14 +190,14 @@ struct notify_driver_object * notify_tesladrv_create(char * driver_name, ...@@ -190,14 +190,14 @@ struct notify_driver_object * notify_tesladrv_create(char * driver_name,
*/ */
int notify_tesladrv_delete (struct notify_driver_object** handlePtr); int notify_tesladrv_delete(struct notify_driver_object** handlePtr);
/* /*
* func notify_tesladrv_getconfig * func notify_tesladrv_getconfig
* *
* desc Get the default configuration for driver. * desc Get the default configuration for driver.
*/ */
void notify_tesladrv_getconfig (struct notify_tesladrv_config* cfg); void notify_tesladrv_getconfig(struct notify_tesladrv_config* cfg);
/* /*
...@@ -207,7 +207,7 @@ void notify_tesladrv_getconfig (struct notify_tesladrv_config* cfg); ...@@ -207,7 +207,7 @@ void notify_tesladrv_getconfig (struct notify_tesladrv_config* cfg);
*/ */
int notify_tesladrv_setup (struct notify_tesladrv_config * cfg); int notify_tesladrv_setup(struct notify_tesladrv_config * cfg);
/* /*
* func notify_tesladrv_params_init * func notify_tesladrv_params_init
...@@ -215,8 +215,8 @@ int notify_tesladrv_setup (struct notify_tesladrv_config * cfg); ...@@ -215,8 +215,8 @@ int notify_tesladrv_setup (struct notify_tesladrv_config * cfg);
* desc initializes parameters for driver. * desc initializes parameters for driver.
*/ */
void notify_tesladrv_params_init (struct notify_driver_object *handle, void notify_tesladrv_params_init(struct notify_driver_object *handle,
struct notify_tesladrv_params * params); struct notify_tesladrv_params * params);
/* /*
* func notify_tesladrv_destroy * func notify_tesladrv_destroy
...@@ -224,7 +224,7 @@ void notify_tesladrv_params_init (struct notify_driver_object *handle, ...@@ -224,7 +224,7 @@ void notify_tesladrv_params_init (struct notify_driver_object *handle,
* desc destroys the driver * desc destroys the driver
*/ */
int notify_tesladrv_destroy (void); int notify_tesladrv_destroy(void);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment