stmmac: split to core library and probe drivers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 Nov 2014 10:38:59 +0000 (12:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Nov 2014 19:34:39 +0000 (14:34 -0500)
commitb2e2f0c779fefede3a871781c8827bd8e76c7c0f
tree1ccbaf7b6fa0a4549e531bacdbc101d1e60043b8
parentba7a46f16dd29f93303daeb1fee8af316c5a07f4
stmmac: split to core library and probe drivers

Instead of registering the platform and PCI drivers in one module let's move
necessary bits to where it belongs. During this procedure we convert the module
registration part to use module_*_driver() macros which makes code simplier.

>From now on the driver consists three parts: core library, PCI, and platform
drivers.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/Kconfig
drivers/net/ethernet/stmicro/stmmac/Makefile
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c