Commit d13c4534 authored by Ramesh Gupta's avatar Ramesh Gupta Committed by Hari Kanigeri

OMAP4 syslink ducati header file format changes

This patch fixes format issues with the
ducati header files.
Signed-off-by: default avatarRamesh Gupta G <grgupta@ti.com>
parent 1c29d4c3
......@@ -51,11 +51,11 @@ extern u32 get_ducati_virt_mem();
*/
int notify_ducatidrv_register_event(
struct notify_driver_object *handle,
short int proc_id,
int event_no,
fn_notify_cbck fn_notify_cbck,
void *cbck_arg) ;
struct notify_driver_object *handle,
short int proc_id,
int event_no,
fn_notify_cbck fn_notify_cbck,
void *cbck_arg) ;
/*
* func notify_mbxdrv_unregevent
......@@ -66,11 +66,11 @@ int notify_ducatidrv_register_event(
*/
int notify_ducatidrv_unregister_event(
struct notify_driver_object *handle,
short int proc_id,
int event_no,
fn_notify_cbck fn_notify_cbck,
void *cbck_arg) ;
struct notify_driver_object *handle,
short int proc_id,
int event_no,
fn_notify_cbck fn_notify_cbck,
void *cbck_arg) ;
/*
* func notify_mbxdrv_sendevent
......@@ -82,10 +82,10 @@ int notify_ducatidrv_unregister_event(
*/
int notify_ducatidrv_sendevent(struct notify_driver_object *handle,
short int proc_id,
int event_no,
int payload,
short int wait_clear) ;
short int proc_id,
int event_no,
int payload,
short int wait_clear) ;
/*
* func notify_mbxdrv_disable
......@@ -107,7 +107,7 @@ void *notify_ducatidrv_disable(struct notify_driver_object *handle);
*/
int notify_ducatidrv_restore(struct notify_driver_object *handle,
void *flags) ;
void *flags) ;
/*
* func notify_mbxdrv_disable_event
......@@ -118,9 +118,9 @@ int notify_ducatidrv_restore(struct notify_driver_object *handle,
*/
int notify_ducatidrv_disable_event(
struct notify_driver_object *handle,
short int proc_id,
int event_no) ;
struct notify_driver_object *handle,
short int proc_id,
int event_no) ;
/*
* func notify_mbxdrv_enable_event
......@@ -131,9 +131,9 @@ int notify_ducatidrv_disable_event(
*/
int notify_ducatidrv_enable_event(
struct notify_driver_object *handle,
short int proc_id,
int event_no) ;
struct notify_driver_object *handle,
short int proc_id,
int event_no) ;
/*
......@@ -146,7 +146,7 @@ int notify_ducatidrv_enable_event(
int notify_ducatidrv_debug(struct notify_driver_object *handle) ;
struct notify_ducatidrv_params{
struct notify_ducatidrv_params {
int shared_addr;
int shared_addr_size;
int num_events;
......@@ -162,7 +162,6 @@ struct notify_ducatidrv_params{
*
*/
struct notify_ducatidrv_config {
void *gate_handle;
};
......@@ -186,14 +185,14 @@ int notify_ducatidrv_delete(struct notify_driver_object **handle_ptr);
/*Function to open the ducati driver */
int notify_ducatidrv_open(char *driver_name,
struct notify_driver_object **handle_ptr);
struct notify_driver_object **handle_ptr);
/*Function to close the ducati driver */
int notify_ducatidrv_close(struct notify_driver_object **handle_ptr);
/*Function to initialize the given parameters */
void notify_ducatidrv_params_init(struct notify_driver_object *handle,
struct notify_ducatidrv_params *params);
struct notify_ducatidrv_params *params);
#endif /* !defined NOTIFY_SHMDRIVER_H_ */
......@@ -24,7 +24,7 @@
* brief Base structure for NotifyDriverShm command args. This needs to be
* the first field in all command args structures.
*/
struct notify_ducatidrv_cmdargs{
struct notify_ducatidrv_cmdargs {
int api_status;
};
......@@ -36,7 +36,7 @@ struct notify_ducatidrv_cmdargs{
/*
* brief Base command ID for NotifyDriverShm
*/
#define NOTIFYDRIVERSHM_BASE_CMD 0x0
#define NOTIFYDRIVERSHM_BASE_CMD 0x0
/*
* brief Command for NotifyDriverShm_getConfig
......@@ -82,7 +82,7 @@ struct notify_ducatidrv_cmdargs{
/*
* @brief Command arguments for NotifyDriverShm_getConfig
*/
struct notify_ducatidrv_cmdargs_getconfig{
struct notify_ducatidrv_cmdargs_getconfig {
struct notify_ducatidrv_cmdargs common_args;
struct notify_ducatidrv_config *cfg;
};
......@@ -106,7 +106,7 @@ struct notify_ducatidrv_cmdargs_destroy {
* brief Command arguments for NotifyDriverShm_Params_init
*/
struct notify_ducatidrv_cmdargs_paramsinit{
struct notify_ducatidrv_cmdargs_paramsinit {
struct notify_ducatidrv_cmdargs common_args;
struct notify_driver_object * handle;
struct notify_ducatidrv_params * params;
......@@ -149,5 +149,4 @@ struct notify_ducatidrv_cmdargs_close {
};
#endif /*NOTIFY_DUCATIDRV_DEFS*/
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