]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Add missing ifdef for VIA RNG code
authorMark Brown <broonie@sirena.org.uk>
Sat, 4 Mar 2006 02:05:58 +0000 (21:05 -0500)
committerJeff Garzik <jeff@garzik.org>
Sat, 4 Mar 2006 02:05:58 +0000 (21:05 -0500)
commit28e02bac9c943ed85a29b41ccb9bf95641b2e263
treeca3e0206b77daf23dcae162a1349a93a6178a110
parentc499ec24c31edf270e777a868ffd0daddcfe7ebd
[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: Mark Brown <broonie@sirena.org.uk>
Signed-Off-By: Jeff Garzik <jeff@garzik.org>
drivers/char/hw_random.c