diff options
author | John Bowler <jbowler@nslu2-linux.org> | 2006-01-11 22:00:55 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-01-11 22:00:55 +0000 |
commit | 6f7bd413184fad59110c5252d0dc3fc059fe7c02 (patch) | |
tree | df787b185e2843cd9d8e7c0789935c18b4f69320 /packages/linux/ixp4xx-kernel/2.6.15/92-nas100d-maclist.patch | |
parent | 36750351a1f8d5c700c4542ea5a095ec929fa6b2 (diff) |
ixp4xx-kernel: update to latest patch set, add NSLU2 support in 2.6.15
Diffstat (limited to 'packages/linux/ixp4xx-kernel/2.6.15/92-nas100d-maclist.patch')
-rw-r--r-- | packages/linux/ixp4xx-kernel/2.6.15/92-nas100d-maclist.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/linux/ixp4xx-kernel/2.6.15/92-nas100d-maclist.patch b/packages/linux/ixp4xx-kernel/2.6.15/92-nas100d-maclist.patch index 3143850b22..20ccbd56a6 100644 --- a/packages/linux/ixp4xx-kernel/2.6.15/92-nas100d-maclist.patch +++ b/packages/linux/ixp4xx-kernel/2.6.15/92-nas100d-maclist.patch @@ -33,7 +33,7 @@ + * When the RedBoot config partition is added the MAC address is read from + * it. + */ -+void flash_add(struct mtd_info *mtd) { ++static void nas100d_flash_add(struct mtd_info *mtd) { + if (strcmp(mtd->name, "RedBoot config") == 0) { + size_t retlen; + u_char mac[6]; @@ -52,12 +52,12 @@ +/* + * Nothing to do on remove at present. + */ -+void flash_remove(struct mtd_info *mtd) { ++static void nas100d_flash_remove(struct mtd_info *mtd) { +} + -+struct mtd_notifier flash_notifier = { -+ .add = flash_add, -+ .remove = flash_remove, ++static struct mtd_notifier nas100d_flash_notifier = { ++ .add = nas100d_flash_add, ++ .remove = nas100d_flash_remove, +}; + static void __init nas100d_init(void) @@ -65,7 +65,7 @@ + /* The flash has an ethernet MAC embedded in it which we need, + * that is all this notifier does. + */ -+ register_mtd_user(&flash_notifier); ++ register_mtd_user(&nas100d_flash_notifier); + ixp4xx_sys_init(); |