From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 5/7] ahci: Convert driver to use modern PM hooks Date: Thu, 18 Feb 2016 06:41:24 -0800 Message-ID: <20160218144124.GA8145@infradead.org> References: <1455785657-22924-1-git-send-email-mika.westerberg@linux.intel.com> <1455785657-22924-6-git-send-email-mika.westerberg@linux.intel.com> <20160218131246.GF6479@mtj.duckdns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20160218131246.GF6479@mtj.duckdns.org> Sender: linux-kernel-owner@vger.kernel.org To: Tejun Heo Cc: Andy Shevchenko , Mika Westerberg , linux-block@vger.kernel.org, Jens Axboe , James Bottomley , "Martin K . Petersen" , "linux-kernel@vger.kernel.org" , linux-ide@vger.kernel.org, linux-scsi List-Id: linux-scsi@vger.kernel.org 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, },