Revert "ARM: OMAP: Catch callers of revision information prior to it being populated"
This reverts commit 571afb4c8a
.
This commit is contained in:
parent
571afb4c8a
commit
3d51ae172d
|
@ -65,7 +65,6 @@ static struct omap_id omap_ids[] __initdata = {
|
||||||
|
|
||||||
unsigned int omap_rev(void)
|
unsigned int omap_rev(void)
|
||||||
{
|
{
|
||||||
WARN_ON_ONCE(!omap_revision || omap_revision == -1);
|
|
||||||
return omap_revision;
|
return omap_revision;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(omap_rev);
|
EXPORT_SYMBOL(omap_rev);
|
||||||
|
|
|
@ -46,7 +46,6 @@ u32 omap_features;
|
||||||
|
|
||||||
unsigned int omap_rev(void)
|
unsigned int omap_rev(void)
|
||||||
{
|
{
|
||||||
WARN_ON_ONCE(!omap_revision || omap_revision == -1);
|
|
||||||
return omap_revision;
|
return omap_revision;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(omap_rev);
|
EXPORT_SYMBOL(omap_rev);
|
||||||
|
|
Loading…
Reference in New Issue