]> git.neil.brown.name Git - history.git/commitdiff
[ARM PATCH] 1839/1: fix lubbock_flash.c which used a bogus reg name
authorNicolas Pitre <nico@org.rmk.(none)>
Fri, 30 Apr 2004 21:51:18 +0000 (22:51 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Fri, 30 Apr 2004 21:51:18 +0000 (22:51 +0100)
Patch from Nicolas Pitre

Before previous patch this driver compiled OK but was buggy.
Now it doesn't compile anymore as the bogus macro has been
deleted.  Fix that in any case.

The same fix has been committed to the MTD CVS already, but please forward
this to Linus otherwise Lubbock won't compile from kernel.org tree anymore
(waiting for dwmw2 to update this might prove ... hrm ... long)

drivers/mtd/maps/lubbock-flash.c

index 0077c7d1e7389891034c86ef79e7011780565f99..c7e25466c88c2ae65792c653b231756fd6a257c6 100644 (file)
@@ -60,7 +60,7 @@ static const char *probes[] = { "RedBoot", "cmdlinepart", NULL };
 
 static int __init init_lubbock(void)
 {
-       int flashboot = (CONF_SWITCHES & 1);
+       int flashboot = (LUB_CONF_SWITCHES & 1);
        int ret = 0, i;
 
        lubbock_maps[0].buswidth = lubbock_maps[1].buswidth =