Skip to content
Commit 28e02bac authored by Mark Brown's avatar Mark Brown Committed by Jeff Garzik
Browse files

[PATCH] Add missing ifdef for VIA RNG code



Almost all the code for the VIA RNG is guarded with __i386__ #ifdefs,
the only exception being the enumeration of RNG types which is used to
index into the rng_vector ops array.  This patch adds an ifdef around
that for consistency and since the guard makes a difference when adding
new RNG types on non-i386 hardware.

Signed-Off-By: default avatarMark Brown <broonie@sirena.org.uk>
Signed-Off-By: default avatarJeff Garzik <jeff@garzik.org>
parent c499ec24
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment