X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=blobdiff_plain;f=drivers%2Finput%2Fmouse%2Fhgpk.c;h=a1ad2f1a7bb377c776368d55c2a05b5fcd7fd69b;hp=a14a6b0f7af0232b228a87f89757399ded490331;hb=ba28f22e7cf16cb310bb491cbb3f7d0d5d1f5c5d;hpb=59cc1dd97ca9ac0363ef2f770901fbd86e2b970a diff --git a/drivers/input/mouse/hgpk.c b/drivers/input/mouse/hgpk.c index a14a6b0..a1ad2f1 100644 --- a/drivers/input/mouse/hgpk.c +++ b/drivers/input/mouse/hgpk.c @@ -381,7 +381,7 @@ static void hgpk_disconnect(struct psmouse *psmouse) static void hgpk_recalib_work(struct work_struct *work) { - struct delayed_work *w = container_of(work, struct delayed_work, work); + struct delayed_work *w = to_delayed_work(work); struct hgpk_data *priv = container_of(w, struct hgpk_data, recalib_wq); struct psmouse *psmouse = priv->psmouse;