aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2011-07-25 17:13:00 -0700
committerLinus Torvalds <[email protected]>2011-07-25 20:57:14 -0700
commita0e44d4a7a3935afe425ec8dd1a5b63895e1f9c3 (patch)
treeef31b7fe165d9777e93beacb191adbef280c21b6 /net/lapb/lapb_subr.c
parentae891a1b93bf62e9aaa116a7a71312375047fc9f (diff)
include/linux/ioport.h: new helper to define common struct resource constructs
Resource definitions that just define start, end and flags = IORESOURCE_MEM or IORESOURCE_IRQ (with start=end) are quite common. So introduce a shortcut for them. For completeness add macros for IORESOURCE_DMA and IORESOURCE_IO, too and also make available a set of macros to specify named resources of all types which are less common. Signed-off-by: Uwe Kleine-König <[email protected]> Cc: Arnd Bergmann <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions