]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/staging/crystalhd/crystalhd_misc.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit...
[mv-sheeva.git] / drivers / staging / crystalhd / crystalhd_misc.c
index 32e632c2ab3e34c91cf17d1ce690cbf54bfd7505..73593b078b339fb3cf276941ee2fd3c870da8521 100644 (file)
@@ -24,6 +24,8 @@
  * along with this driver.  If not, see <http://www.gnu.org/licenses/>.
  **********************************************************************/
 
+#include <linux/slab.h>
+
 #include "crystalhd_misc.h"
 #include "crystalhd_lnx.h"
 
@@ -959,7 +961,8 @@ void crystalhd_destroy_dio_pool(struct crystalhd_adp *adp)
  * Create general purpose list element pool to hold pending,
  * and active requests.
  */
-int crystalhd_create_elem_pool(struct crystalhd_adp *adp, uint32_t pool_size)
+int __devinit crystalhd_create_elem_pool(struct crystalhd_adp *adp,
+               uint32_t pool_size)
 {
        uint32_t i;
        crystalhd_elem_t *temp;