diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-26 12:41:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-26 12:41:18 -0500 |
commit | 9ae21d1bb376436285cd5346d3e4b3655d6dd1b9 (patch) | |
tree | 8f889770fae721da63bd378c1834a87e2eb1cfb5 /drivers/mtd/maps/dilnetpc.c | |
parent | f9b4192923fa6e38331e88214b1fe5fc21583fcc (diff) | |
parent | e9415777b1cd0eaf4d1d3d61772f0e6d5c2551ad (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
* git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial:
drivers/char/ftape/lowlevel/fdc-io.c: Correct a comment
Kconfig help: MTD_JEDECPROBE already supports Intel
Remove ugly debugging stuff
do_mounts.c: Minor ROOT_DEV comment cleanup
BUG_ON() Conversion in drivers/s390/block/dasd_devmap.c
BUG_ON() Conversion in mm/mempool.c
BUG_ON() Conversion in mm/memory.c
BUG_ON() Conversion in kernel/fork.c
BUG_ON() Conversion in ipc/sem.c
BUG_ON() Conversion in fs/ext2/
BUG_ON() Conversion in fs/hfs/
BUG_ON() Conversion in fs/dcache.c
BUG_ON() Conversion in fs/buffer.c
BUG_ON() Conversion in input/serio/hp_sdc_mlc.c
BUG_ON() Conversion in md/dm-table.c
BUG_ON() Conversion in md/dm-path-selector.c
BUG_ON() Conversion in drivers/isdn
BUG_ON() Conversion in drivers/char
BUG_ON() Conversion in drivers/mtd/
Diffstat (limited to 'drivers/mtd/maps/dilnetpc.c')
-rw-r--r-- | drivers/mtd/maps/dilnetpc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mtd/maps/dilnetpc.c b/drivers/mtd/maps/dilnetpc.c index b51c757817d8..efb221692641 100644 --- a/drivers/mtd/maps/dilnetpc.c +++ b/drivers/mtd/maps/dilnetpc.c | |||
@@ -218,8 +218,8 @@ static void dnp_set_vpp(struct map_info *not_used, int on) | |||
218 | { | 218 | { |
219 | if(--vpp_counter == 0) | 219 | if(--vpp_counter == 0) |
220 | setcsc(CSC_RBWR, getcsc(CSC_RBWR) | 0x4); | 220 | setcsc(CSC_RBWR, getcsc(CSC_RBWR) | 0x4); |
221 | else if(vpp_counter < 0) | 221 | else |
222 | BUG(); | 222 | BUG_ON(vpp_counter < 0); |
223 | } | 223 | } |
224 | spin_unlock_irq(&dnpc_spin); | 224 | spin_unlock_irq(&dnpc_spin); |
225 | } | 225 | } |
@@ -240,8 +240,8 @@ static void adnp_set_vpp(struct map_info *not_used, int on) | |||
240 | { | 240 | { |
241 | if(--vpp_counter == 0) | 241 | if(--vpp_counter == 0) |
242 | setcsc(CSC_RBWR, getcsc(CSC_RBWR) | 0x8); | 242 | setcsc(CSC_RBWR, getcsc(CSC_RBWR) | 0x8); |
243 | else if(vpp_counter < 0) | 243 | else |
244 | BUG(); | 244 | BUG_ON(vpp_counter < 0); |
245 | } | 245 | } |
246 | spin_unlock_irq(&dnpc_spin); | 246 | spin_unlock_irq(&dnpc_spin); |
247 | } | 247 | } |