Messages in this thread | | | Date | Thu, 18 Feb 2016 06:41:24 -0800 | From | Christoph Hellwig <> | Subject | Re: [PATCH 5/7] ahci: Convert driver to use modern PM hooks |
| |
On Thu, Feb 18, 2016 at 08:12:46AM -0500, Tejun Heo wrote: > On Thu, Feb 18, 2016 at 12:45:05PM +0200, Andy Shevchenko wrote: > > > + .driver.pm = &ahci_pci_pm_ops, > > > > Please, do this in several assignments, since to support older compilers. > > Can you please elaborate? That's a single assignment. Are there > compilers which can't do that?
Old gcc (I think 4.4 is the last one) needs:
.driver = { .pm = &ahci_pci_pm_ops, },
| |