Re: [PATCH 1/2] device: Stop requiring that struct device is embedded in struct pci_dev

From: Bart Van Assche
Date: Mon Mar 06 2017 - 22:19:22 EST


On Tue, 2017-03-07 at 02:41 +0000, Parav Pandit wrote:
> Compilation would break when CONFIG_PCI is not defined for some embedded platforms.
> More than that, including specific pci_dev structure pointer in generic structure such as device just doesn't sound right.
> I tested equivalent patch that you sent, but I don't think this is right direction to fix this bug.

You are welcome to voice your opinion. But unless anyone proposes a better
alternative I propose to proceed with this approach.

Bart.