vserver 2.0 rc7
[linux-2.6.git] / drivers / i2c / algos / i2c-algo-sibyte.c
index ea1a904..35789bb 100644 (file)
@@ -136,14 +136,11 @@ static u32 bit_func(struct i2c_adapter *adap)
 /* -----exported algorithm data: ------------------------------------- */
 
 static struct i2c_algorithm i2c_sibyte_algo = {
-       "SiByte algorithm",
-       I2C_ALGO_SIBYTE,
-       NULL,                           /* master_xfer          */
-       smbus_xfer,                     /* smbus_xfer           */
-       NULL,                           /* slave_xmit           */
-       NULL,                           /* slave_recv           */
-       algo_control,                   /* ioctl                */
-       bit_func,                       /* functionality        */
+       .name           = "SiByte algorithm",
+       .id             = I2C_ALGO_SIBYTE,
+       .smbus_xfer     = smbus_xfer,
+       .algo_control   = algo_control, /* ioctl */
+       .functionality  = bit_func,
 };
 
 /*