Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756067AbdIGVLD convert rfc822-to-8bit (ORCPT ); Thu, 7 Sep 2017 17:11:03 -0400 Received: from esa1.microchip.iphmx.com ([68.232.147.91]:49083 "EHLO esa1.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932383AbdIGVJp (ORCPT ); Thu, 7 Sep 2017 17:09:45 -0400 X-IronPort-AV: E=Sophos;i="5.42,360,1500966000"; d="scan'208";a="7203210" From: To: , , , , , , , , Subject: [PATCH RFC 1/6] The file ksz_common.c will be used by other KSZ switch drivers. Thread-Topic: [PATCH RFC 1/6] The file ksz_common.c will be used by other KSZ switch drivers. Thread-Index: AdMoGk0QxDcqiEQqTT6n0i1H16HhJAAAmvxw Date: Thu, 7 Sep 2017 21:08:58 +0000 Message-ID: <93AF473E2DA327428DE3D46B72B1E9FD411219FF@CHN-SV-EXMX02.mchp-main.com> References: <93AF473E2DA327428DE3D46B72B1E9FD411218C4@CHN-SV-EXMX02.mchp-main.com> In-Reply-To: <93AF473E2DA327428DE3D46B72B1E9FD411218C4@CHN-SV-EXMX02.mchp-main.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.10.76.4] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 586 Lines: 14 From: Tristram Ha Break ksz_common.c into 2 files so that the common code can be used by other KSZ switch drivers. Signed-off-by: Tristram Ha --- diff --git a/drivers/net/dsa/microchip/Makefile b/drivers/net/dsa/microchip/Makefile index ed335e2..0961c30 100644 --- a/drivers/net/dsa/microchip/Makefile +++ b/drivers/net/dsa/microchip/Makefile @@ -1,2 +1,2 @@ -obj-$(CONFIG_MICROCHIP_KSZ) += ksz_common.o +obj-$(CONFIG_MICROCHIP_KSZ) += ksz9477.o ksz_common.o obj-$(CONFIG_MICROCHIP_KSZ_SPI_DRIVER) += ksz_spi.o