diff options
Diffstat (limited to 'drivers/media/dvb/firewire/firedtv-1394.c')
-rw-r--r-- | drivers/media/dvb/firewire/firedtv-1394.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/firewire/firedtv-1394.c b/drivers/media/dvb/firewire/firedtv-1394.c index 4e207658c5d9..2b6eeeab5b25 100644 --- a/drivers/media/dvb/firewire/firedtv-1394.c +++ b/drivers/media/dvb/firewire/firedtv-1394.c | |||
@@ -225,7 +225,7 @@ fail_free: | |||
225 | 225 | ||
226 | static int node_remove(struct device *dev) | 226 | static int node_remove(struct device *dev) |
227 | { | 227 | { |
228 | struct firedtv *fdtv = dev->driver_data; | 228 | struct firedtv *fdtv = dev_get_drvdata(dev); |
229 | 229 | ||
230 | fdtv_dvb_unregister(fdtv); | 230 | fdtv_dvb_unregister(fdtv); |
231 | 231 | ||
@@ -242,7 +242,7 @@ static int node_remove(struct device *dev) | |||
242 | 242 | ||
243 | static int node_update(struct unit_directory *ud) | 243 | static int node_update(struct unit_directory *ud) |
244 | { | 244 | { |
245 | struct firedtv *fdtv = ud->device.driver_data; | 245 | struct firedtv *fdtv = dev_get_drvdata(&ud->device); |
246 | 246 | ||
247 | if (fdtv->isochannel >= 0) | 247 | if (fdtv->isochannel >= 0) |
248 | cmp_establish_pp_connection(fdtv, fdtv->subunit, | 248 | cmp_establish_pp_connection(fdtv, fdtv->subunit, |