various cleanup patches

Sascha Hauer s.hauer at pengutronix.de
Fri Apr 8 10:36:46 EDT 2011


The following series contains several cleanup patches I created while working
on omap4.

Sascha Hauer (16):
      fs: remove unused field 'type' from struct fs_driver_d
      mci: make it compile without info support
      ubi: do not use filep
      devfs: remove unused struct filep* argument from open/close
      fs: implement flush function
      devfs: factor out core devfs functionality
      nand: remove unused header file
      startup: we can only mount root and devfs when compiled in
      nand: remove unused nand_util file
      move version_string to seperate file
      fs: use safe_strncpy instead of sprintf
      script: update git ignore file
      serial 16550: use xzalloc
      ARM: compile in image size and magic into barebox image
      commands: seperate usb command from usb core
      fs mount: fix error handling

 arch/arm/cpu/start.c            |    6 +
 arch/arm/lib/barebox.lds.S      |    1 +
 commands/Kconfig                |    8 +
 commands/Makefile               |    1 +
 commands/nand.c                 |    4 +-
 commands/usb.c                  |   41 ++
 common/Makefile                 |    1 +
 common/command.c                |    4 -
 common/console.c                |   10 +-
 common/console_simple.c         |    2 +
 common/startup.c                |    2 +
 common/version.c                |   13 +
 drivers/mci/mci-core.c          |    2 +
 drivers/mtd/nand/Makefile       |    1 -
 drivers/mtd/nand/nand_util.c    |  858 ---------------------------------------
 drivers/mtd/ubi/cdev.c          |   12 +-
 drivers/serial/serial_ns16550.c |    4 +-
 drivers/usb/core/usb.c          |   21 +-
 fs/Makefile                     |    1 +
 fs/cramfs/cramfs.c              |    1 -
 fs/devfs-core.c                 |  236 +++++++++++
 fs/devfs.c                      |  177 +--------
 fs/fs.c                         |   44 ++-
 fs/ramfs.c                      |    1 -
 include/asm-generic/sections.h  |    3 +
 include/common.h                |    1 +
 include/driver.h                |   10 +-
 include/fs.h                    |    7 +-
 include/linux/mtd/compat.h      |   46 --
 include/usb/usb.h               |    2 +
 scripts/.gitignore              |    3 +-
 31 files changed, 389 insertions(+), 1134 deletions(-)
 create mode 100644 commands/usb.c
 create mode 100644 common/version.c
 delete mode 100644 drivers/mtd/nand/nand_util.c
 create mode 100644 fs/devfs-core.c
 delete mode 100644 include/linux/mtd/compat.h



More information about the barebox mailing list