0
Linux內核4.4已結構phy_device定義爲linux kernel 4.5及更高版本中struct struct_device的dev成員發生了什麼?
363 struct phy_device {
364 /* Information about the PHY type */
365 /* And management functions */
366 struct phy_driver *drv;
367
368 struct mii_bus *bus;
369
370 struct device dev;
和內核4.5有現:
361 struct phy_device {
362 struct mdio_device mdio;
363
364 /* Information about the PHY type */
365 /* And management functions */
366 struct phy_driver *drv;
367
368 u32 phy_id;
發生了什麼事dev的成員?
好吧,我假設問題得到解答。謝謝。 – sibislaw