ACPI: simplify acpi_pci_irq_add_prt() API
[linux-2.6/linux-acpi-2.6.git] / include / linux / device_cgroup.h
blob0b0d9c39ed670d10c1ddf7d9863fbbb67cfd356b
1 #include <linux/module.h>
2 #include <linux/fs.h>
4 #ifdef CONFIG_CGROUP_DEVICE
5 extern int devcgroup_inode_permission(struct inode *inode, int mask);
6 extern int devcgroup_inode_mknod(int mode, dev_t dev);
7 #else
8 static inline int devcgroup_inode_permission(struct inode *inode, int mask)
9 { return 0; }
10 static inline int devcgroup_inode_mknod(int mode, dev_t dev)
11 { return 0; }
12 #endif