On Thu, 2012-03-22 at 17:05 -0700, Dan Williams wrote: > --- a/drivers/scsi/scsi_priv.h > +++ b/drivers/scsi/scsi_priv.h > @@ -163,6 +163,10 @@ static inline int scsi_autopm_get_host(struct Scsi_Host *h) { return 0; } > static inline void scsi_autopm_put_host(struct Scsi_Host *h) {} > #endif /* CONFIG_PM_RUNTIME */ > > +#if IS_ENABLED(CONFIG_PM) || IS_ENABLED(CONFIG_BLK_DEV_SD) > +extern struct list_head scsi_sd_probe_domain; > +#endif This #if is unnecessary. There's no need to conditionally compile external variable or function declarations. The only reason we do it for functions is if we need an else branch with an empty body. James -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html