diff --git a/can-softing-depend-on-iomem.patch b/can-softing-depend-on-iomem.patch new file mode 100644 index 000000000..9b944ef71 --- /dev/null +++ b/can-softing-depend-on-iomem.patch @@ -0,0 +1,17 @@ +CAN: softing driver needs IOMEM + +Without this dependency the softing driver will be buildable on s390, +where it fails. + +Signed-Off-By: Chuck Ebbert + +--- a/drivers/net/can/softing/Kconfig ++++ b/drivers/net/can/softing/Kconfig +@@ -1,6 +1,6 @@ + config CAN_SOFTING + tristate "Softing Gmbh CAN generic support" +- depends on CAN_DEV ++ depends on CAN_DEV && HAS_IOMEM + ---help--- + Support for CAN cards from Softing Gmbh & some cards + from Vector Gmbh. diff --git a/kernel.spec b/kernel.spec index b4a39ff10..21ba5c031 100644 --- a/kernel.spec +++ b/kernel.spec @@ -51,7 +51,7 @@ Summary: The Linux kernel # For non-released -rc kernels, this will be prepended with "0.", so # for example a 3 here will become 0.3 # -%global baserelease 1 +%global baserelease 2 %global fedora_build %{baserelease} # base_sublevel is the kernel version we're starting with and patching @@ -731,6 +731,8 @@ Patch12303: dmar-disable-when-ricoh-multifunction.patch Patch12421: fs-call-security_d_instantiate-in-d_obtain_alias.patch +Patch12430: can-softing-depend-on-iomem.patch + %endif BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root @@ -1343,6 +1345,9 @@ ApplyPatch dmar-disable-when-ricoh-multifunction.patch # rhbz#662344,600690 ApplyPatch fs-call-security_d_instantiate-in-d_obtain_alias.patch +# Fix build failure on s390 +ApplyPatch can-softing-depend-on-iomem.patch + # END OF PATCH APPLICATIONS %endif @@ -1955,6 +1960,9 @@ fi # ||----w | # || || %changelog +* Mon Jan 31 2011 Chuck Ebbert 2.6.38-0.rc2.git7.2 +- Fix build failure on s390. + * Fri Jan 28 2011 Chuck Ebbert 2.6.38-0.rc2.git7.1 - Linux 2.6.38-rc2-git7