Commit 3d1ca8b4 authored by Ramesh Gupta's avatar Ramesh Gupta Committed by Hari Kanigeri

OMAP4 Syslink ducati driver coding format fix

This patch fixes coding style issues and compile time
warnings.
Signed-off-by: default avatarRamesh Gupta G <grgupta@ti.com>
parent 15351583
......@@ -32,7 +32,8 @@
*/
#define IPC_BUF_ALIGN 128
#define IPC_ALIGN(x, y) (unsigned long int)((unsigned long int)((x + y - 1) / y) * y)
#define IPC_ALIGN(x, y) (unsigned long int)\
((unsigned long int)((x + y - 1) / y) * y)
#define NOTIFYDUCATI_DRIVERNAME "NOTIFY_DUCATIDRV"
......@@ -177,10 +178,10 @@ int notify_ducatidrv_destroy(void);
/* Function to create the ducati driver handle and performs initialization. */
struct notify_driver_object* notify_ducatidrv_create(char *driver_name,
struct notify_driver_object *notify_ducatidrv_create(char *driver_name,
const struct notify_ducatidrv_params *params);
/* Function to delete the ducati driver handle and performs de initialization. */
/* Function to delete the ducati driver handle and performs de initialization.*/
int notify_ducatidrv_delete(struct notify_driver_object **handle_ptr);
/*Function to open the ducati driver */
......
......@@ -108,8 +108,8 @@ struct notify_ducatidrv_cmdargs_destroy {
struct notify_ducatidrv_cmdargs_paramsinit {
struct notify_ducatidrv_cmdargs common_args;
struct notify_driver_object * handle;
struct notify_ducatidrv_params * params;
struct notify_driver_object *handle;
struct notify_ducatidrv_params *params;
};
/*!
......@@ -117,9 +117,9 @@ struct notify_ducatidrv_cmdargs_paramsinit {
*/
struct notify_ducatidrv_cmdargs_create {
struct notify_ducatidrv_cmdargs common_args;
char driverName [NOTIFY_MAX_NAMELEN];
char driverName[NOTIFY_MAX_NAMELEN];
struct notify_ducatidrv_params params;
struct notify_driver_object * handle;
struct notify_driver_object *handle;
};
/*
......@@ -127,7 +127,7 @@ struct notify_ducatidrv_cmdargs_create {
*/
struct notify_ducatidrv_cmdargs_delete {
struct notify_ducatidrv_cmdargs common_args;
struct notify_driver_object * handle;
struct notify_driver_object *handle;
};
/*
......@@ -135,8 +135,8 @@ struct notify_ducatidrv_cmdargs_delete {
*/
struct notify_ducatidrv_cmdargs_open {
struct notify_ducatidrv_cmdargs common_args;
char * driverName;
struct notify_driver_object * handle;
char *driverName;
struct notify_driver_object *handle;
};
......@@ -145,7 +145,7 @@ struct notify_ducatidrv_cmdargs_open {
*/
struct notify_ducatidrv_cmdargs_close {
struct notify_ducatidrv_cmdargs common_args;
struct notify_driver_object * handle;
struct notify_driver_object *handle;
};
......
......@@ -28,6 +28,7 @@
#include <syslink/notify_driverdefs.h>
#include <syslink/notify_ducatidriver.h>
#include <syslink/notify_dispatcher.h>
#include <syslink/multiproc.h>
......
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