|
@@ -32,7 +32,7 @@ void wl1251_elp_work(struct work_struct *work)
|
|
struct delayed_work *dwork;
|
|
struct delayed_work *dwork;
|
|
struct wl1251 *wl;
|
|
struct wl1251 *wl;
|
|
|
|
|
|
- dwork = container_of(work, struct delayed_work, work);
|
|
|
|
|
|
+ dwork = to_delayed_work(work);
|
|
wl = container_of(dwork, struct wl1251, elp_work);
|
|
wl = container_of(dwork, struct wl1251, elp_work);
|
|
|
|
|
|
wl1251_debug(DEBUG_PSM, "elp work");
|
|
wl1251_debug(DEBUG_PSM, "elp work");
|