On Sat, Mar 12, 2011 at 1:18 PM, Rafael J. Wysocki <rjw@xxxxxxx> wrote: > -static int __init init_iommu_sysfs(void) > -{ > - return 0; > -} > +static inline int init_iommu_pm_ops(void) { } > #endif /* CONFIG_PM */ drivers/pci/intel-iommu.c:3391: warning: no return statement in function returning non-void s/static inline int/static inline void/ Reported-by: Tony Luck <tony.luck@xxxxxxxxx> -Tony _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm