From: Giuseppe CAVALLARO Date: Mon, 4 Jun 2012 19:22:57 +0000 (+0000) Subject: stmmac: fix driver Kconfig when built as module X-Git-Tag: v3.5-rc3~22^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba27ec66ffeb78cbf9f85e168b32551a9aaf2a34;p=pandora-kernel.git stmmac: fix driver Kconfig when built as module This patches fixes the driver when built as dynamic module. In fact, the platform part cannot be built and the probe fails (thanks to Bob Liu that reported this bug). v2: as D. Miller suggested, it is not necessary to make the pci and the platform code mutually exclusive. Having both could also help, at built time ,to verify that all the code is validated and compiles fine. v3: removed wrong Reviewed-by from the patch Reported-by: Bob Liu cc: Rayagond Kokatanur Signed-off-by: Giuseppe Cavallaro Signed-off-by: David S. Miller --- Reading git-diff-tree failed