usb: wwan: fix compilation without CONFIG_PM_RUNTIME
commit97ac01d8f1b8d1c9e5af32c2813ba771835961f9
authorOliver Neukum <oliver@neukum.org>
Fri, 18 Mar 2011 11:44:17 +0000 (18 12:44 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Mar 2011 20:16:06 +0000 (23 13:16 -0700)
treec3aafd90f3ca9afd4bd67daadf515879c11ff54d
parentadaa3c6342b249548ea830fe8e02aa5b45be8688
usb: wwan: fix compilation without CONFIG_PM_RUNTIME

The pm usage counter must be accessed with the proper wrappers
to allow compilation under all configurations.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Reported-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/usb_wwan.c