Print this page
7127  remove -Wno-missing-braces from Makefile.uts


 377 };
 378 
 379 /*
 380  * module configuration section
 381  */
 382 
 383 #ifdef DEBUG
 384 #define BSCV_VERSION_STRING "bscv driver - Debug"
 385 #else /* DEBUG */
 386 #define BSCV_VERSION_STRING "bscv driver"
 387 #endif /* DEBUG */
 388 
 389 static struct modldrv modldrv = {
 390         &mod_driverops,
 391         BSCV_VERSION_STRING,
 392         &bscv_dev_ops,
 393 };
 394 
 395 static struct modlinkage modlinkage = {
 396         MODREV_1,
 397         &modldrv,
 398         NULL
 399 };
 400 
 401 #ifdef DEBUG
 402 /* Tracing is enabled if value is non-zero. */
 403 static int bscv_trace_flag = 1;
 404 
 405 #define BSCV_TRACE   if (bscv_trace_flag != 0)  bscv_trace
 406 #else
 407 #define BSCV_TRACE
 408 #endif
 409 
 410 /*
 411  * kernel accessible routines. These routines are necessarily global so the
 412  * driver can be loaded, and unloaded successfully
 413  */
 414 
 415 /*
 416  * function     - _init
 417  * description  - initializes the driver state structure and installs the
 418  *                driver module into the kernel




 377 };
 378 
 379 /*
 380  * module configuration section
 381  */
 382 
 383 #ifdef DEBUG
 384 #define BSCV_VERSION_STRING "bscv driver - Debug"
 385 #else /* DEBUG */
 386 #define BSCV_VERSION_STRING "bscv driver"
 387 #endif /* DEBUG */
 388 
 389 static struct modldrv modldrv = {
 390         &mod_driverops,
 391         BSCV_VERSION_STRING,
 392         &bscv_dev_ops,
 393 };
 394 
 395 static struct modlinkage modlinkage = {
 396         MODREV_1,
 397         { &modldrv, NULL }

 398 };
 399 
 400 #ifdef DEBUG
 401 /* Tracing is enabled if value is non-zero. */
 402 static int bscv_trace_flag = 1;
 403 
 404 #define BSCV_TRACE   if (bscv_trace_flag != 0)  bscv_trace
 405 #else
 406 #define BSCV_TRACE
 407 #endif
 408 
 409 /*
 410  * kernel accessible routines. These routines are necessarily global so the
 411  * driver can be loaded, and unloaded successfully
 412  */
 413 
 414 /*
 415  * function     - _init
 416  * description  - initializes the driver state structure and installs the
 417  *                driver module into the kernel