]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
net: macb: Remove redundant ptp clock selection
authorHarini Katakam <harini.katakam@xilinx.com>
Fri, 11 May 2018 06:36:28 +0000 (12:06 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 19 Jun 2018 08:29:00 +0000 (10:29 +0200)
commitc5316f66d637aed02bf5ecb4f9fee000168c19e6
tree045c1e08ef912f81d585be2f39d1d8c9c43eac41
parent1e7f173dc901cb6f4b423b8b8da5e2010720dd89
net: macb: Remove redundant ptp clock selection

PTP_1588_CLOCK is already implied when MACB_USE_HWSTAMP is selected.
Remove the unconditional selection under macb config.
Also using the imply instead of select avoid errors on configurations
such as:

make ARCH=i386

All errors (new ones prefixed by >>):

   drivers/ptp/ptp_clock.o: In function `ptp_clock_register':
>> drivers/ptp/ptp_clock.c:274: undefined reference to `posix_clock_register'
   drivers/ptp/ptp_clock.o: In function `ptp_clock_unregister':
>> drivers/ptp/ptp_clock.c:320: undefined reference to `posix_clock_unregister'

Signed-off-by: Harini Katakam <harini.katakam@xilinx.com>
Acked-by: Radhey Shyam Pandey <radheys@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/ethernet/cadence/Kconfig