Re: [RFC PATCH 08/15] ata: ahci_platform: Manage SATA PHY

From: Sergei Shtylyov
Date: Mon Sep 23 2013 - 10:10:48 EST


Hello.

On 09/23/2013 01:48 AM, Tejun Heo wrote:

@@ -37,6 +37,7 @@

#include <linux/clk.h>
#include <linux/libata.h>
+#include <linux/phy/phy.h>

struct phy;

should suffice.

Unless it's actually likely to cause inclusion loop, I think it's
better to include the header than adding explicit declarations.

Apparently, tastes differ here. E.g. Greg KH would have also told Roger to use forward declaration in such case. :-)

Thanks.

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/