Backout use of named initializers. Not C99

This commit is contained in:
Gregory Nutt 2015-01-31 12:29:21 -06:00
parent 85dc0f5cd7
commit f24520acbb

View File

@ -234,15 +234,16 @@ static FAR struct nrf24l01_dev_s *g_nrf24l01dev;
static const struct file_operations nrf24l01_fops = static const struct file_operations nrf24l01_fops =
{ {
.open = nrf24l01_open, /* open */ nrf24l01_open, /* open */
.close = nrf24l01_close, /* close */ nrf24l01_close, /* close */
.read = nrf24l01_read, /* read */ nrf24l01_read, /* read */
.write = nrf24l01_write, /* write */ nrf24l01_write, /* write */
.seek = NULL, /* seek */ NULL, /* seek */
.ioctl = nrf24l01_ioctl, /* ioctl */ nrf24l01_ioctl, /* ioctl */
#ifndef CONFIG_DISABLE_POLL #ifndef CONFIG_DISABLE_POLL
.poll = nrf24l01_poll /* poll */ nrf24l01_poll, /* poll */
#endif #endif
NULL /* unlink */
}; };
/**************************************************************************** /****************************************************************************