Changeset 3761

Show
Ignore:
Timestamp:
01/15/03 01:55:14 (10 years ago)
Author:
kmalkki
Message:

(Kyösti)

More C99 initializers.

Location:
i2c/trunk/kernel
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/kernel/i2c-algo-8xx.c

    r3759 r3761  
    582582 
    583583static struct i2c_algorithm cpm_algo = { 
    584         "MPC8xx CPM algorithm", 
    585         I2C_ALGO_MPC8XX, 
    586         cpm_xfer, 
    587         NULL, 
    588         NULL,                           /* slave_xmit           */ 
    589         NULL,                           /* slave_recv           */ 
    590         algo_control,                   /* ioctl                */ 
    591         cpm_func,                       /* functionality        */ 
     584        .name           = "MPC8xx CPM algorithm", 
     585        .id             = I2C_ALGO_MPC8XX, 
     586        .master_xfer    = cpm_xfer, 
     587        .algo_control   = algo_control, 
     588        .functionality  = cpm_func, 
    592589}; 
    593590 
  • i2c/trunk/kernel/i2c-algo-pcf.c

    r3758 r3761  
    443443 
    444444static struct i2c_algorithm pcf_algo = { 
    445         "PCF8584 algorithm", 
    446         I2C_ALGO_PCF, 
    447         pcf_xfer, 
    448         NULL, 
    449         NULL,                           /* slave_xmit           */ 
    450         NULL,                           /* slave_recv           */ 
    451         algo_control,                   /* ioctl                */ 
    452         pcf_func,                       /* functionality        */ 
     445        .name           = "PCF8584 algorithm", 
     446        .id             = I2C_ALGO_PCF, 
     447        .master_xfer    = pcf_xfer, 
     448        .algo_control   = algo_control, 
     449        .functionality  = pcf_func, 
    453450}; 
    454451