PNP: define PNP-specific IORESOURCE_IO_* flags alongside IRQ, DMA, MEM
[sfrench/cifs-2.6.git] / include / linux / fsl_devices.h
index 1831b196c70a9fe452fb37d605f8a8142b75e42d..c415a496de3a1a08d02ddc6668cf4f49ba98a979 100644 (file)
@@ -14,7 +14,6 @@
  * option) any later version.
  */
 
-#ifdef __KERNEL__
 #ifndef _FSL_DEVICE_H_
 #define _FSL_DEVICE_H_
 
@@ -50,7 +49,7 @@ struct gianfar_platform_data {
        u32     device_flags;
        /* board specific information */
        u32     board_flags;
-       u32     bus_id;
+       char    bus_id[MII_BUS_ID_SIZE];
        u32     phy_id;
        u8      mac_addr[6];
        phy_interface_t interface;
@@ -127,4 +126,3 @@ struct mpc8xx_pcmcia_ops {
 };
 
 #endif /* _FSL_DEVICE_H_ */
-#endif /* __KERNEL__ */