mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
FLASH_MINOR is used in both drivers/char/nwflash.c and drivers/sbus/char/flash.c with conflict minor numbers. Move all the definitions of FLASH_MINOR into miscdevice.h. Rename FLASH_MINOR for drivers/char/nwflash.c to NWFLASH_MINOR and FLASH_MINOR for drivers/sbus/char/flash.c to SBUS_FLASH_MINOR. Link: https://lore.kernel.org/lkml/[email protected]/t/ Suggested-by: Arnd Bergmann <[email protected]> Signed-off-by: Zhenzhong Duan <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Russell King <[email protected]> Cc: "David S. Miller" <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
10 lines
195 B
C
10 lines
195 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _FLASH_H
|
|
#define _FLASH_H
|
|
|
|
#define CMD_WRITE_DISABLE 0
|
|
#define CMD_WRITE_ENABLE 0x28
|
|
#define CMD_WRITE_BASE64K_ENABLE 0x47
|
|
|
|
#endif /* _FLASH_H */
|