KVM make error--drivers/usb/serial/usb_wwan.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks,
Kvm.git: commit 2ee44a580db58f98d85b57bfc468bbc5729ec9b3  Author: Avi Kivity    Date:   Mon Mar 21 12:53:58 2011 +0200
My build system: RHEL5u5,  Linux kvm-build 2.6.38-rc4+ #1 SMP Sat Feb 19 15:35:09 CST 2011 x86_64 x86_64 x86_64 GNU/Linux

When I make kvm, I get the following error.
drivers/usb/serial/usb_wwan.c: In function 'play_delayed':
drivers/usb/serial/usb_wwan.c:702: error: 'struct dev_pm_info' has no member named 'usage_count'

And I look at the 702Row of usb_wwan.c    It shows:
atomic_dec(&port->serial->interface->dev.power.usage_count);
I see usage_count is declared in kvm.git/include/linux/pm.h , but it is declared between "#ifdef" and "#endif".   #ifdef CONFIG_PM_RUNTIME .
Kernel of build system doesn't define CONFIG_PM_RUNTIME, so I got the kvm make error.

Anybody knows the solution ?  Thanks. 

Best Regards,
     Yongjie Ren    (Jay)

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux