Blame view

include/linux/mtd/concat.h 1.14 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
3
  /*
   * MTD device concatenation layer definitions
   *
a1452a377   David Woodhouse   mtd: Update copyr...
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
   * Copyright © 2002      Robert Kaiser <rkaiser@sysgo.de>
   *
   * This program is free software; you can redistribute it and/or modify
   * it under the terms of the GNU General Public License as published by
   * the Free Software Foundation; either version 2 of the License, or
   * (at your option) any later version.
   *
   * This program is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   * GNU General Public License for more details.
   *
   * You should have received a copy of the GNU General Public License
   * along with this program; if not, write to the Free Software
   * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
19
   *
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
20
21
22
23
24
25
26
27
28
   */
  
  #ifndef MTD_CONCAT_H
  #define MTD_CONCAT_H
  
  
  struct mtd_info *mtd_concat_create(
      struct mtd_info *subdev[],  /* subdevices to concatenate */
      int num_devs,               /* number of subdevices      */
475b44c19   Kay Sievers   mtd: struct devic...
29
      const char *name);          /* name for the new device   */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
30
31
32
33
  
  void mtd_concat_destroy(struct mtd_info *mtd);
  
  #endif