diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2010-05-04 14:43:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 11:36:05 -0700 |
commit | 5aaaeba82e00958ecb2c890b4953a249bbde9426 (patch) | |
tree | a7e54709d95ae5837396bbb995c86033791d3684 /drivers/staging/iio/industrialio-ring.c | |
parent | e5c003ae82865c43feca9e11fb291ec2304a63d1 (diff) | |
download | op-kernel-dev-5aaaeba82e00958ecb2c890b4953a249bbde9426.zip op-kernel-dev-5aaaeba82e00958ecb2c890b4953a249bbde9426.tar.gz |
staging: iio: Move from class to bus
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/industrialio-ring.c')
-rw-r--r-- | drivers/staging/iio/industrialio-ring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/industrialio-ring.c b/drivers/staging/iio/industrialio-ring.c index 5f48632..690df91 100644 --- a/drivers/staging/iio/industrialio-ring.c +++ b/drivers/staging/iio/industrialio-ring.c @@ -210,7 +210,7 @@ __iio_request_ring_buffer_access_chrdev(struct iio_ring_buffer *buf, buf->access_handler.flags = 0; buf->access_dev.parent = &buf->dev; - buf->access_dev.class = &iio_class; + buf->access_dev.bus = &iio_bus_type; buf->access_dev.type = &iio_ring_access_type; device_initialize(&buf->access_dev); |