X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-sh%2Fpush-switch.h;h=4903f9e52dd858aee3a5805da7d22a156798d98f;hb=7616ee95f27a04fd5a6434e9ef4a82cec4b2807c;hp=dfc6bad567f050c848f6b8cded7d0436c8702264;hpb=3f5e573a08a369bd10d2f89b63a2d68843f64a6b;p=linux-2.6 diff --git a/include/asm-sh/push-switch.h b/include/asm-sh/push-switch.h index dfc6bad567..4903f9e52d 100644 --- a/include/asm-sh/push-switch.h +++ b/include/asm-sh/push-switch.h @@ -4,6 +4,7 @@ #include #include #include +#include struct push_switch { /* switch state */ @@ -12,6 +13,8 @@ struct push_switch { struct timer_list debounce; /* workqueue */ struct work_struct work; + /* platform device, for workqueue handler */ + struct platform_device *pdev; }; struct push_switch_platform_info {