On Wed, Sep 23, 2009 at 05:53, <[email protected]> wrote: > +config BFIN_MAC_USE_HWSTAMP > + bool "Use IEEE 1588 hwstamp" > + depends on BFIN_MAC && BF518 > + default y > + help > + To support IEEE 1588 Precision Time Protocol(PTP), selete y here
"select" > +#ifdef CONFIG_BFIN_MAC_USE_HWSTAMP > + bfin_tx_hwtstamp(dev, skb); > +#endif how about defining a dummy bfin_tx_hwtstamp() when CONFIG_BFIN_MAC_USE_HWSTAMP isnt defined so that you dont need to wrap all the call sites with the #ifdef -mike _______________________________________________ Linux-kernel-commits mailing list [email protected] https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
